johnstevenson/json-works
A PHP library for reading, editing, and writing JSON while preserving original formatting and whitespace. It provides a simple API for precise changes to JSON documents, making it ideal for configuration files and other human-maintained JSON that should stay readable.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| php-jsonpointer/php-jsonpointer | 0.83 | RFC6901 JSON Pointer implementation for PHP 8.1+. Parse JSON and retrieve values using pointer paths (e.g. /foo, /bar/baz, /qux/0) with proper escaping and clear exceptions for invalid JSON or missing references. | 92 | 96 | 10 | 932K | 1 | 0.9 | 55.2 | MIT | — | |
| php-jsonpatch/php-jsonpatch | 0.82 | A PHP library for applying JSON Patch (RFC 6902) and JSON Merge Patch (RFC 7386) to JSON documents, supporting add, remove, replace, move, copy, and test operations with a clean, standards-compliant API. | 99 | 101 | 24 | 11K | 5 | 2.7 | 29.8 | MIT | — | |
| markup/json | 0.81 | Markup JSON is a lightweight PHP package for working with JSON as markup. It offers a simple way to parse or render JSON data into readable HTML output, making it useful for Laravel and PHP projects that need to display or transform JSON content. | 3 | 3 | 1 | 69 | 0 | 0.4 | 17.4 | — | 7 years ago | |
| ergebnis/json-printer | 0.81 | A PHP package that provides a JSON printer for flexible indentation. It normalizes existing JSON to spaces or tabs without escaping or unescaping, making it easy to reformat JSON consistently. | 93 | 92 | 2 | 1M | 0 | 25.2 | 64.7 | MIT | 2 weeks ago | |
| php-standard-library/json | 0.81 | A small PHP Standard Library package for JSON encoding and decoding with typed exceptions and sensible defaults, providing predictable error handling for safer serialization in Laravel and other PHP projects. | 1 | 1 | 0 | 96K | 0 | 21.4 | 64.8 | MIT | 1 week ago | |
| mikemccabe/json-patch-php | 0.81 | PHP library implementing JSON Patch (RFC 6902) and JSON Pointer (RFC 6901). Diff two JSON documents, apply patch operations, or read values via pointers. Works with json_decode(..., true) arrays; includes optional SimpleXML-style array handling. | 112 | 112 | 25 | 34K | 8 | 4.3 | 38.1 | — | 11 years ago | |
| pcrov/jsonreader | 0.80 | A streaming, pull-based JSON parser for PHP. Process large documents incrementally from strings or streams without loading everything into memory. Iterate over tokens and events with a simple, readable API—ideal for big files and memory-constrained environments. | 146 | — | 21 | — | 0 | 1.8 | — | MIT | 11 months ago |
|
| league/json-reference | 0.80 | A PHP library for resolving JSON References, including JSON Pointers ($ref) in JSON documents and schemas. It dereferences local and remote references through a simple API, with support for custom retrievers and integration with JSON Schema tooling. | 32 | 33 | 9 | 5K | 5 | 0.9 | 22.1 | MIT | — | |
| symplify/composer-json-manipulator | 0.80 | Symplify ComposerJsonManipulator provides a PHP API for reading, modifying, and writing composer.json files safely. Update dependencies, scripts, config, and metadata, then save normalized JSON—ideal for tooling, migrations, and automated package maintenance. | 0 | 38 | — | 2K | — | 0.0 | 45.5 | — | — | |
| hoa/json | 0.80 | Hoa\Json is a PHP library for parsing, encoding, and manipulating JSON documents. It provides a grammar-based parser and structured tools for working with JSON data reliably in PHP applications. | 12 | 10 | 6 | 24 | 2 | 0.4 | 4.7 | — | 9 years ago | |
| bcncommerce/json-stream | 0.80 | Stream JSON reading and writing for PHP. Incrementally parse or generate large JSON documents from file handles without loading everything into memory. Supports entering/leaving objects and arrays, reading keys or iterating items—ideal for exports/imports like product catalogs. | 65 | 68 | 10 | 47K | 2 | 2.2 | 39.3 | MIT | 5 years ago | |
| phpdocumentor/json-path | 0.80 | PHP library from phpDocumentor that adds JSONPath query support for selecting and extracting data from JSON structures. Useful for tooling and document generation workflows needing simple path-based access to nested JSON. | 1 | 1 | 2 | 7K | 0 | 1.0 | 48.7 | MIT | 1 year ago | |
| ergebnis/json | 0.80 | ergebnis/json provides a Json value object for representing a valid JSON string. Create instances from strings or files, with clear exceptions for invalid JSON, missing or unreadable files. Ideal for safely handling JSON input in PHP applications. | 27 | 25 | 1 | 1M | 2 | 21.3 | 64.3 | MIT | 1 month ago | |
| makasim/json-patch-php | 0.79 | A PHP library implementing JSON Patch (RFC 6902) for applying add, remove, replace, move, copy, and test operations to JSON-like PHP data. Supports partial updates and precise, diff-driven changes to arrays and objects. | 0 | 0 | 0 | 12 | 0 | 0.0 | 15.4 | — | 7 years ago | |
| flow/jsonpath | 0.79 | PHP JSONPath implementation for querying and extracting data with XPath-like expressions. Object-oriented, tokenized/cached parser (no eval) and works with arrays, objects, and ArrayAccess. Note: this repo is unmaintained; see SoftCreatR/JSONPath. | 306 | 304 | 41 | 42K | 18 | 4.0 | 24.4 | MIT | — | |
| yiisoft/json | 0.79 | Yii JSON is a lightweight PHP library for encoding/decoding JSON with sensible defaults. It throws JsonException on errors, supports JsonSerializable, DateTimeInterface and SimpleXMLElement, and includes safe HTML encoding for embedding JSON in pages. | 29 | 29 | 9 | 60K | 2 | 2.1 | 45.9 | BSD-3-Clause | 11 months ago | |
| ergebnis/json-normalizer | 0.79 | A Composer package for PHP that provides generic and vendor-specific normalizers for JSON documents, with normalizers for formatting, indentation, schemas, chaining, encoding, and final newline handling. | 83 | 84 | 5 | 2M | 0 | 29.8 | 65.3 | MIT | 1 week ago | |
| art4/json-api-client | 0.79 | A PHP library for parsing and validating JSON:API documents. It turns responses into typed resources, relationships, links, errors, and meta objects, helping you build reliable JSON:API clients without manual array handling. | 138 | — | 21 | — | 5 | 2.7 | 1.5 | GPL-3.0 | 2 years ago |
|
How can I help you explore Laravel packages today?