PHPackages                             phptestplugin/json - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. phptestplugin/json

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

phptestplugin/json
==================

PHP library to encode and decode JSON

v1.0(6y ago)02MITPHPPHP &gt;=5.3.0

Since Jun 8Pushed 6y ago1 watchersCompare

[ Source](https://github.com/zb666-ux/phptestplugin)[ Packagist](https://packagist.org/packages/phptestplugin/json)[ RSS](/packages/phptestplugin-json/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

使用案列代码 （DemoCode）
=================

[](#使用案列代码-democode)

// 引入autoload.php文件 require './vendor/autoload.php';

$data = \[ 'name' =&gt; 'zs', 'age' =&gt; 20 \];

// 调用Json的encode静态方法 序列化数据 $jsondata = \\phptestplugin\\Json::encode($data); print\_r($jsondata);

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2217d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23141039?v=4)[zb666](/maintainers/zb666)[@zb666](https://github.com/zb666)

---

Top Contributors

[![zb666-ux](https://avatars.githubusercontent.com/u/58589460?v=4)](https://github.com/zb666-ux "zb666-ux (5 commits)")

### Embed Badge

![Health badge](/badges/phptestplugin-json/health.svg)

```
[![Health](https://phpackages.com/badges/phptestplugin-json/health.svg)](https://phpackages.com/packages/phptestplugin-json)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
