PHPackages                             jsonrepair/jsonrepair - 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. [Database &amp; ORM](/categories/database)
4. /
5. jsonrepair/jsonrepair

ActiveLibrary[Database &amp; ORM](/categories/database)

jsonrepair/jsonrepair
=====================

Repair invalid JSON documents - A modern PHP 8.4+ port with streaming support. Fixes common issues: missing quotes, trailing commas, comments, single quotes, and more.

v1.0.1(6mo ago)11.1k↓26.3%ISCPHP ^8.4

Since Oct 31Compare

[ Source](https://github.com/daniesy/jsonrepair)[ Packagist](https://packagist.org/packages/jsonrepair/jsonrepair)[ Docs](https://github.com/daniesy/jsonrepair-php)[ RSS](/packages/jsonrepair-jsonrepair/feed)WikiDiscussions Synced 1mo ago

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

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/daniesy/jsonrepair).

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance69

Regular maintenance activity

Popularity22

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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 ~16 days

Total

2

Last Release

183d ago

### Community

Maintainers

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

---

Tags

streamjsonparsergeneratorstreamingNDJSONparsemongodbinvalidfixbrokenrepairmalformed

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[salsify/json-streaming-parser

A streaming parser for JSON in PHP.

7766.7M15](/packages/salsify-json-streaming-parser)[timgws/query-builder-parser

Build complex Eloquent &amp; QueryBuilder queries automatically when using jQuery-QueryBuilder

159387.8k](/packages/timgws-query-builder-parser)[apix/cache

A thin PSR-6 cache wrapper with a generic interface to various caching backends emphasising cache taggging and indexing to Redis, Memcached, PDO/SQL, APC and other adapters.

114542.8k6](/packages/apix-cache)[sonata-project/doctrine-mongodb-admin-bundle

Symfony Sonata / Integrate Doctrine MongoDB ODM into the SonataAdminBundle

68839.2k3](/packages/sonata-project-doctrine-mongodb-admin-bundle)[icecave/duct

An incremental streaming JSON parser.

773.5k1](/packages/icecave-duct)[evaisse/php-json-schema-generator

A JSON Schema Generator.

20298.5k1](/packages/evaisse-php-json-schema-generator)

PHPackages © 2026

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