PHPackages                             greghunt/partial-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. greghunt/partial-json

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

greghunt/partial-json
=====================

Parse incomplete JSON. Great for streamed JSON.

1.1.0(2y ago)42.3k1[1 PRs](https://github.com/greghunt/partial-json/pulls)1MITPHP

Since Dec 6Pushed 2y ago1 watchersCompare

[ Source](https://github.com/greghunt/partial-json)[ Packagist](https://packagist.org/packages/greghunt/partial-json)[ RSS](/packages/greghunt-partial-json/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (1)

Partial JSON
============

[](#partial-json)

This is a JSON partial that allows you to parse incomplete JSON. This is useful for parsing incomplete streams of JSON like from OpenAI.

Testing
-------

[](#testing)

Run tests with `./vendor/bin/pest`

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](LICENSE).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity43

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

Every ~68 days

Total

2

Last Release

825d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/de81fafa7b25ffcbdfd3aa7d78a7a3c05a764a8e15a73b6f37ea7cfa4348abd2?d=identicon)[greghunt](/maintainers/greghunt)

---

Top Contributors

[![greghunt](https://avatars.githubusercontent.com/u/1238407?v=4)](https://github.com/greghunt "greghunt (6 commits)")

###  Code Quality

TestsPest

### Embed Badge

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

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

###  Alternatives

[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[opis/closure

A library that can be used to serialize closures (anonymous functions) and arbitrary data.

2.6k230.0M284](/packages/opis-closure)[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)[michelf/php-markdown

PHP Markdown

3.5k52.4M345](/packages/michelf-php-markdown)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)

PHPackages © 2026

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