PHPackages                             phptestsoft8/json8 - 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. phptestsoft8/json8

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

phptestsoft8/json8
==================

PHP library to encode and decode JSON

v1.0(10y ago)0241MITPHPPHP &gt;=5.3.0

Since Jul 22Pushed 8y ago1 watchersCompare

[ Source](https://github.com/itcastphpgit2/phptestsoft8)[ Packagist](https://packagist.org/packages/phptestsoft8/json8)[ RSS](/packages/phptestsoft8-json8/feed)WikiDiscussions master Synced 2w ago

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

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

[](#使用案例代码democode)

// 1. 引入autoload.php

require './vendor/autoload.php';

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

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

print\_r($jsondata);

###  Health Score

26

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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

3675d ago

### Community

Maintainers

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

---

Top Contributors

[![itcastphpgit2](https://avatars.githubusercontent.com/u/20579138?v=4)](https://github.com/itcastphpgit2 "itcastphpgit2 (5 commits)")

### Embed Badge

![Health badge](/badges/phptestsoft8-json8/health.svg)

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

###  Alternatives

[dmishh/settings-bundle

Database centric Symfony configuration management. Global and per-user settings supported.

114259.0k1](/packages/dmishh-settings-bundle)[algoyounes/circuit-breaker

Circuit Breaker is laravel package that provides a way to handle failures gracefully

596.5k](/packages/algoyounes-circuit-breaker)[kiboit/phast

A toolbox for optimizing web page performance

3715.8k1](/packages/kiboit-phast)

PHPackages © 2026

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