PHPackages                             sburba/strict-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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. sburba/strict-json

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

sburba/strict-json
==================

A strict and basic json parser

3.2.4(6y ago)011.5k↓52.9%2[1 PRs](https://github.com/sburba/strict-json/pulls)MITPHPCI failing

Since Apr 9Pushed 5y ago1 watchersCompare

[ Source](https://github.com/sburba/strict-json)[ Packagist](https://packagist.org/packages/sburba/strict-json)[ RSS](/packages/sburba-strict-json/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (8)Versions (18)Used By (0)

StrictJson
==========

[](#strictjson)

[![Coverage](https://camo.githubusercontent.com/dca7b9ca8615bf5fcb5cd1451fdf8a103f1bba2d24a50ae8da2cd3326ed2cd44/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f7362757262612f7374726963742d6a736f6e2e737667)](https://codecov.io/gh/sburba/strict-json)

StrictJson converts JSON into your plain old PHP classes

**View the user documentation at **

Development
===========

[](#development)

Working locally requires Docker or PHP 7.2 to be installed. The rest of these steps will assume you're using docker. If you're not using docker, just run the commands without the `scripts/run_in_docker.sh` prefix (And skip building the image, obviously).

Build
-----

[](#build)

Run `scripts/build_docker.sh` to build the docker image

Install dependencies
--------------------

[](#install-dependencies)

Run `scripts/run_in_docker.sh composer install` to install all the required dependencies

Validate Code
-------------

[](#validate-code)

Run `scripts/run_in_docker.sh scripts/check_all.sh` to check code style and run unit and mutation tests

Automatically fix code style
----------------------------

[](#automatically-fix-code-style)

Run `scripts/run_in_docker.sh vendor/bin/php-cs-fixer fix .`

Preview docs
------------

[](#preview-docs)

Run `scripts/run_in_docker.sh vendor/bin/couscous preview 0.0.0.0:8000`Go to localhost:8000 to preview your documentation changes

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 64.2% 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

Every ~12 days

Total

16

Last Release

2453d ago

Major Versions

1.1.0 → 2.0.02019-04-17

2.0.1 → 3.0.02019-04-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/1d12247b7ceb09441a42aec9070006b254441d7727c498d80bf123dcd4cd0066?d=identicon)[Sam Burba](/maintainers/Sam%20Burba)

---

Top Contributors

[![sburba](https://avatars.githubusercontent.com/u/1319492?v=4)](https://github.com/sburba "sburba (34 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (10 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (9 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19139.2M47](/packages/mck89-peast)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9843.5k](/packages/sauladam-shipment-tracker)[jstewmc/rtf

Read and write Rich Text Format (RTF) documents with PHP

45153.1k6](/packages/jstewmc-rtf)[tcds-io/php-jackson

A lightweight, flexible object serializer for PHP, inspired by FasterXML/jackson

113.2k10](/packages/tcds-io-php-jackson)

PHPackages © 2026

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