php-standard-library/json
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ergebnis/json | 0.85 | 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. | 24 | 24 | 1 | 1M | 2 | 23.4 | 66.8 | MIT | 7 months ago | |
| beste/json | 0.83 | 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 | 23.2 | 65.0 | MIT | 6 months ago | |
| php-standard-library/interoperability | 0.81 | Lightweight PHP interoperability helpers for working with common standards and cross-package integrations. Provides small, reusable utilities to bridge libraries and normalize behavior without heavy dependencies. | 1 | — | 0 | — | 0 | 20.0 | — | MIT | 2 weeks ago | |
| justinrainbow/json-schema | 0.81 | Validate JSON data against JSON Schema in PHP. Supports draft-3, draft-4, draft-6, and draft-7 with $ref resolution and detailed validation errors. Install via Composer and validate decoded JSON objects against local or remote schemas. | 3,627 | 3,676 | 369 | 5M | 4 | 60.2 | 52.6 | MIT | 1 week ago | |
| zendframework/zend-json | 0.81 | 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. | 100 | 101 | 27 | 93K | 5 | 12.3 | 50.0 | BSD-3-Clause | 6 years ago | |
| json-ld/tests | 0.81 | 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 | 16 | 0 | 10.2 | 6.0 | — | 12 years ago | |
| ml/json-ld | 0.81 | Fully conforming JSON-LD processor for PHP. Implements the official JSON-LD API (expand, compact, frame, flatten, toRdf), passes the W3C test suite, supports advanced framing features, and includes N-Quads serialization/parsing. | 337 | 344 | 63 | 228K | 28 | 12.2 | 48.5 | MIT | — | |
| laminas/laminas-json | 0.80 | 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 | 618K | 0 | 11.7 | 50.7 | BSD-3-Clause | 2 months ago | |
| php-standard-library/math | 0.80 | Strictly typed math utilities for PHP with predictable, consistent error handling. Part of the PHP Standard Library project, providing reliable mathematical functions and a stable developer experience for safer numeric operations. | 1 | 0 | 0 | 4K | 0 | 20.6 | 53.9 | MIT | 2 weeks ago | |
| php-standard-library/filesystem | 0.79 | Type-safe filesystem utilities for PHP Standard Library. Perform common file and directory operations with consistent APIs and proper exception handling, improving safety and clarity over raw PHP functions. Documentation and contribution links included. | 1 | 0 | 0 | 5K | 0 | 20.6 | 55.8 | MIT | 2 weeks ago | |
| php-standard-library/type | 0.79 | Runtime type validation for PHP using “Parse, Don’t Validate”: coerce and assert unstructured input into well-typed data. Useful for APIs, configs, and user input with clear parsing rules, assertions, and predictable failures. | 1 | 0 | 0 | 12K | 0 | 20.6 | 61.3 | MIT | 2 weeks ago | |
| php-standard-library/collection | 0.78 | Object-oriented Vector, Map, and Set collections for PHP with both immutable and mutable variants. Part of PHP Standard Library, focused on generic, reusable data structures with consistent APIs. Docs and contribution links available at php-standard-library.dev. | 1 | 0 | 0 | 9K | 0 | 20.6 | 59.3 | MIT | 2 weeks ago |
How can I help you explore Laravel packages today?