beste/json
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| halaxa/json-machine | 0.87 | 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 | |
| camspiers/json-pretty | 0.85 | 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 | 6K | 1 | 0.7 | 23.6 | MIT | 10 years ago | |
| yiisoft/json | 0.85 | 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.85 | 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 | |
| json-schema/json-schema-test-suite | 0.84 | 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 | — | — | |
| braincrafted/json | 0.84 | 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 | |
| phpdocumentor/json-path | 0.83 | 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 | |
| neomerx/json-api | 0.83 | Framework-agnostic PHP library implementing JSON:API v1.1. Builds compliant documents, relationships, compound includes, meta and errors. Parses/validates Accept/Content-Type and query params (pagination, sorting, sparse fields) to return proper 415/406 responses. | 737 | 743 | 66 | 24K | 8 | 16.9 | 23.2 | Apache-2.0 | 6 years ago | |
| atheon/json-builder | 0.83 | — | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 3 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. | 0 | 38 | — | 760K | — | 8.3 | 45.4 | — | — | |
| herrera-io/json | 0.83 | 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 | — | — | |
| php-standard-library/json | 0.83 | 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 | |
| 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 | |
| colinodell/json5 | 0.81 | 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. | 304 | 311 | 12 | 836K | 0 | 5.8 | 47.5 | MIT | 2 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 | — | — | |
| testo/testo | 0.70 | Testo is an extensible PHP testing framework with a lightweight core and middleware system. It lets you fully control your test environment while keeping familiar PHP syntax. Includes an init command, suite/plugin config via testo.php, and Composer scripts. | 0 | 181 | — | 2K | — | 42.2 | 26.4 | — | — | |
| bigbluebutton/bigbluebutton-api-php | 0.65 | Official BigBlueButton API client for PHP (7.4+). Provides an easy, modern way to call BigBlueButton server endpoints, build and send API requests, and integrate meetings and recordings into your PHP apps with documented examples and samples. | 193 | 197 | 205 | 24K | 14 | 18.3 | 33.6 | LGPL-3.0 | 2 years ago | |
| yiisoft/test-support | 0.65 | Testing utilities for Yii applications: helpers and fixtures to simplify unit and integration tests, isolate dependencies, and improve readability. Provides common test tools you can reuse across packages and projects. | 15 | 15 | 11 | 15K | 3 | 16.4 | 46.1 | BSD-3-Clause | 4 months ago | |
| simpletest/simpletest | 0.64 | SimpleTest is a PHP unit testing framework with web site testing and mock objects. Install via Composer (simpletest/simpletest) for PHP 7.1+ and run its own unit and acceptance test suites; issues and community support via GitHub and Stack Overflow. | 149 | 153 | 49 | 7K | 3 | 10.2 | 24.6 | LGPL-2.1 | 8 months ago | |
| testo/codecov | 0.64 | Testo code coverage plugin: collects line and branch coverage during test runs and generates CI-friendly reports (Clover, Cobertura, PHPUnit XML). Supports per-test attribution so tools can map covered lines back to the test that exercised them. | 0 | 0 | 0 | 2K | 0 | 0.0 | 43.5 | — | — |
How can I help you explore Laravel packages today?