colinodell/json5
PHP JSON5 parser/decoder. Adds json5_decode() as a drop-in replacement for json_decode(), supporting comments, trailing commas, single quotes, and more. Always throws SyntaxError on parse failure. Includes a json5 CLI to convert JSON5 to JSON.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| laktak/hjson | 0.82 | PHP library for parsing and generating Hjson (Human JSON). Read relaxed JSON with comments, optional commas, and unquoted keys/strings; stringify back to Hjson. Supports preserving whitespace/comments for round-trip editing. Install via Composer: laktak/hjson. | 86 | 87 | 19 | 3K | 2 | 5.0 | 22.1 | MIT | 1 year ago | |
| imanghafoori/composer-json | 0.82 | Read and query data from any composer.json with a simple API. Provide the absolute path, create an instance, and access common fields via convenient methods—useful for tooling, package inspection, and build scripts. | 15 | 15 | 1 | 7K | 0 | 0.7 | 36.9 | MIT | 2 years ago | |
| ergebnis/json | 0.81 | Value object for representing valid JSON strings in PHP. Create Json instances from strings or files with strict validation and clear exceptions for invalid JSON, missing files, unreadable files, or non-JSON content. Install via Composer: ergebnis/json. | 25 | 25 | 1 | 1M | 2 | 6.4 | 57.1 | MIT | 10 months ago | |
| braincrafted/json | 0.81 | Object-oriented wrapper around PHP’s json_encode() and json_decode() providing simple static encode/decode methods plus exception-based error handling. Supports decoding to arrays or objects via Json::DECODE_ASSOC and Json::DECODE_OBJECT. | 2 | 3 | 0 | 0 | 0 | 0.3 | — | — | 11 years ago | |
| yiisoft/json | 0.80 | 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 | 28 | 9 | 47K | 2 | 8.2 | 46.8 | BSD-3-Clause | 8 months ago | |
| zendframework/zend-json | 0.80 | Convenience utilities for encoding PHP data to JSON and decoding JSON back to native types, including helpers for advanced cases. Note: this Zend Framework repository was abandoned on 2019-12-31; development continues as laminas/laminas-json. | 99 | 101 | 27 | 65K | 5 | 2.3 | 28.3 | BSD-3-Clause | 6 years ago | |
| beste/json | 0.80 | JSON helpers for PHP and Laravel: decode/encode, safe access, casting, and convenient manipulation of JSON strings and arrays. A lightweight utility package focused on cleaner, less error-prone JSON handling in everyday applications. | 43 | 42 | 0 | 1M | 0 | 6.5 | 56.8 | MIT | 10 months ago | |
| herrera-io/json | 0.80 | PHP library for working with JSON data: read, write, validate, and manipulate JSON structures with a simple API. Useful for encoding/decoding, handling JSON files, and keeping JSON processing consistent across your applications. | 0 | 52 | — | 3K | — | 0.0 | 47.8 | — | — | |
| phpdocumentor/json-path | 0.79 | 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 | 4K | 1 | 5.8 | 47.6 | MIT | 9 months ago | |
| laminas/laminas-json | 0.78 | Abandoned Laminas JSON component. Provided utilities for encoding/decoding JSON and related helpers, but it will receive no further development. See Laminas TSC minutes for details and consider migrating to supported alternatives. | 37 | 38 | 16 | 665K | 0 | 7.2 | 44.4 | BSD-3-Clause | 5 months ago | |
| json-schema/json-schema-test-suite | 0.78 | Lightweight placeholder Composer package for testing. Contains minimal README content and no documented functionality yet; likely intended as a stub or harness for experiments around json-schema/json-schema-test-suite. | 0 | 0 | 0 | 2 | 0 | 0.0 | 6.6 | — | — | |
| halaxa/json-machine | 0.78 | Efficiently parse huge JSON files and streams in PHP with low memory usage. json-machine provides an iterator-style API for incremental decoding of arrays/objects, supports JSON Lines and custom pointers/paths, and works great for imports and ETL tasks. | 1,320 | 1,330 | 74 | 881K | 5 | 26.6 | 42.6 | Apache-2.0 | 7 months ago | |
| json-ld/tests | 0.77 | Test suite for a JSON-LD package. Provides fixtures and automated tests to validate JSON-LD parsing/serialization, context handling, compaction/expansion, and edge cases across PHP versions—useful for ensuring standards-compliant JSON-LD behavior. | 11 | 11 | 3 | 683 | 0 | 0.2 | 17.2 | — | 12 years ago | |
| masterminds/html5 | 0.77 | Standards-compliant HTML5 parser and serializer for PHP. Provides SAX-like event parsing, DOM tree building, namespace support, Composer install, and interoperability with QueryPath. Stable and widely used in production. | 1,784 | 1,804 | 121 | 9M | 29 | 49.4 | 71.7 | NOASSERTION | 4 weeks ago |
How can I help you explore Laravel packages today?