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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | 8K | 0 | 0.7 | 37.4 | 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 | 8.2 | 58.0 | MIT | 9 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 | |
| seld/jsonlint | 0.80 | seld/jsonlint is a PHP JSON parser/linter that provides clear, line-based parse error messages. Lint or parse JSON with exceptions, detect or collect duplicate keys, parse to assoc arrays, and optionally allow comments—ideal for validating user-edited JSON. | 0 | 1,348 | — | 3M | — | 15.7 | 47.9 | — | — | |
| 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. | 0 | 28 | — | 31K | — | 10.9 | 44.4 | — | — | |
| 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 | 90K | 5 | 2.3 | 29.6 | 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. | 42 | 42 | 0 | 1M | 0 | 8.6 | 57.9 | MIT | 8 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 | — | 5K | — | 0.0 | 50.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 | 7K | 1 | 7.7 | 52.2 | MIT | 8 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. | 0 | 38 | — | 760K | — | 8.3 | 45.4 | — | — | |
| 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 | 6 | 0 | 0.0 | 11.7 | — | — | |
| 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,314 | 1,322 | 74 | 900K | 5 | 29.2 | 43.7 | Apache-2.0 | 6 months ago | |
| php-standard-library/json | 0.77 | php-standard-library/json provides JSON encode/decode helpers with sensible defaults and typed exceptions. Safer, clearer error handling than native json_encode/json_decode, ideal for consistent JSON handling in PHP apps and libraries. | 1 | 1 | 0 | 22K | 0 | 21.2 | 64.8 | MIT | 1 week 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 | 81 | 0 | 0.2 | 8.7 | — | 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,781 | 1,797 | 121 | 8M | 29 | 33.6 | 63.1 | NOASSERTION | 10 months ago | |
| justinrainbow/json-schema | 0.71 | Validate JSON documents against JSON Schema in PHP. Supports Draft-3, Draft-4, Draft-6 and Draft-7 (coverage varies). Install via Composer and use JsonSchema\Validator to validate data with local file $ref schemas and inspect validation errors. | 3,632 | 3,680 | 369 | 5M | 7 | 60.5 | 52.5 | MIT | 1 month ago |
How can I help you explore Laravel packages today?