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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| json-ld/tests | 0.84 | 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. | 921 | 11 | 165 | 211 | 94 | 29.9 | 27.6 | NOASSERTION | — | |
| halaxa/json-machine | 0.84 | 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,334 | 1,330 | 76 | 881K | 5 | 21.2 | 40.5 | Apache-2.0 | 11 months ago | |
| ml/json-ld | 0.84 | 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. | 335 | 342 | 63 | 341K | 28 | 12.2 | 50.9 | MIT | — | |
| boundwize/jsonrecast | 0.84 | JsonRecast is an editable JSON AST for PHP with visitor traversal and formatting-preserving printing. Update JSON content programmatically while keeping indentation, spacing, and key order intact, so output differs only where you made changes—ideal for composer.json and config files. | 5 | 6 | 0 | 186K | 0 | 33.9 | 64.4 | MIT | 4 weeks ago | |
| laktak/hjson | 0.84 | 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 | 5K | 2 | 5.0 | 23.9 | MIT | 1 year 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. | 43 | 43 | 0 | 2M | 0 | 4.5 | 55.8 | MIT | 1 year ago | |
| ergebnis/json-schema-validator | 0.83 | A friendlier JSON schema validator for PHP that wraps justinrainbow/json-schema with a stateless interface. Validate JSON objects against schemas and get a simple boolean result plus a flat list of ValidationError value objects. | 38 | 38 | 0 | 2M | 1 | 22.1 | 64.3 | MIT | 1 month ago | |
| camspiers/json-pretty | 0.83 | Pretty-print JSON in PHP 5.3. camspiers/json-pretty provides a simple JsonPretty class with a prettify() method to format arrays/JSON into readable, indented output. Install via Composer and use in a few lines. | 22 | 23 | 8 | 5K | 1 | 0.7 | 22.6 | MIT | 10 years ago | |
| laminas/laminas-json | 0.83 | 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 | 724K | 0 | 6.6 | 43.8 | BSD-3-Clause | 9 months ago | |
| malukenho/docheader | 0.83 | Laravel package that adds and manages standardized documentation headers in your source files. Generate consistent file/class docblocks with project metadata, author, license, and timestamps, helping teams enforce style and keep headers up to date automatically. | 68 | 68 | 8 | 8K | 2 | 2.0 | 29.2 | MIT | 8 years ago | |
| yiisoft/json | 0.83 | 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 | |
| imanghafoori/composer-json | 0.83 | 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 | 10K | 0 | 0.7 | 39.0 | MIT | 2 years ago | |
| braincrafted/json | 0.83 | 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 | 2 | 0 | 0.3 | 2.2 | — | 11 years ago | |
| dragon-code/pretty-array | 0.83 | Framework-agnostic PHP utility to export arrays into a readable, pretty PHP representation. Preserves numeric keys correctly (unlike symfony/var-exporter), making it ideal for generated config/translation files and other array dumps you want to commit or inspect. | 17 | 17 | 1 | 1M | 0 | 4.3 | 39.0 | MIT | 1 year ago | |
| apimatic/jsonmapper | 0.83 | apimatic/jsonmapper is a lightweight PHP JSON-to-object mapper for converting API responses into typed models. It maps arrays/JSON to class properties with minimal setup, supports nested structures, and helps keep data hydration consistent across your application. | 24 | 26 | 7 | 507K | 7 | 10.8 | 57.2 | OSL-3.0 | 1 year ago | |
| yooper/nicknames | 0.83 | Laravel package for generating and managing nicknames in your app. Provides simple APIs to create unique, friendly aliases for users or records, with easy integration into existing models and workflows. | 6 | 6 | 1 | 17K | 0 | 1.0 | 46.8 | Apache-2.0 | 8 years ago | |
| ergebnis/json-normalizer | 0.83 | 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 | |
| idiosyncratic/coding-standard | 0.83 | Idiosyncratic coding standard for all Idiosyncratic Projects, based on Doctrine Coding Standard. Adds @public-read-only for private properties exposed as read-only (e.g., via __get) and disables alignment of equals signs in assignments. | 0 | 0 | 0 | 6 | 0 | 0.0 | 11.7 | — | — | |
| zendframework/zend-json | 0.82 | 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 | 26 | 92K | 5 | 2.2 | 29.7 | BSD-3-Clause | 7 years ago | |
| mpociot/reflection-docblock | 0.82 | Parse and work with PHP DocBlocks via reflection. mpociot/reflection-docblock extracts summaries, descriptions, tags, params, and return types from classes, methods, and properties, making it easy to generate documentation or build tooling that relies on DocBlock metadata. | 85 | 85 | 4 | 1M | 2 | 1.5 | 55.1 | MIT | 10 years ago |
How can I help you explore Laravel packages today?