PHPackages                             zonuexe/broken-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. zonuexe/broken-json

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

zonuexe/broken-json
===================

0.1.2(5mo ago)05MPL-2.0PHPPHP &gt;= 8.4CI passing

Since Feb 26Pushed 5mo agoCompare

[ Source](https://github.com/zonuexe/broken-json)[ Packagist](https://packagist.org/packages/zonuexe/broken-json)[ RSS](/packages/zonuexe-broken-json/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

zonuexe/broken-json
===================

[](#zonuexebroken-json)

Repair and decode broken JSON in PHP, with a focus on truncated payloads from logs and storage.

Why This Exists
---------------

[](#why-this-exists)

In real systems, large JSON payloads can be cut off (for example, DB column limits or transport issues). This library tries to recover those payloads into usable PHP values and gives you repair metadata.

Quick Start
-----------

[](#quick-start)

```
