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,334 | 1,330 | 76 | 881K | 5 | 21.2 | 40.5 | Apache-2.0 | 11 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 | 5K | 1 | 0.7 | 22.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. | 29 | 29 | 9 | 60K | 2 | 2.1 | 45.9 | BSD-3-Clause | 11 months ago | |
| 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 | 26 | 92K | 5 | 2.2 | 29.7 | BSD-3-Clause | 7 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 | 1 | 0 | 0.0 | 4.2 | — | — | |
| 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 | 2 | 0 | 0.3 | 2.2 | — | 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 | 0 | 1.0 | 48.7 | MIT | 1 year 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. | 736 | 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 | 4 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 | |
| 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 | 51.4 | — | — | |
| php-standard-library/json | 0.82 | A small PHP Standard Library package for JSON encoding and decoding with typed exceptions and sensible defaults, providing predictable error handling for safer serialization in Laravel and other PHP projects. | 1 | 1 | 0 | 96K | 0 | 21.4 | 64.8 | MIT | 1 week ago | |
| ergebnis/json | 0.81 | ergebnis/json provides a Json value object for representing a valid JSON string. Create instances from strings or files, with clear exceptions for invalid JSON, missing or unreadable files. Ideal for safely handling JSON input in PHP applications. | 27 | 25 | 1 | 1M | 2 | 21.3 | 64.3 | MIT | 1 month 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. | 309 | 311 | 12 | 944K | 0 | 5.8 | 48.1 | MIT | 2 years ago | |
| seld/jsonlint | 0.80 | A PHP JSON parser and linter that validates JSON with clear error messages, supports parsing, duplicate-key handling, comments, associative arrays, and UTF-8 validation. | 1,322 | 1,348 | 58 | 4M | 0 | 27.9 | 53.6 | MIT | 4 months ago | |
| testo/testo | 0.70 | Testo is an extensible PHP testing framework built on a lightweight core with a middleware system. It gives you full control over your testing environment while keeping the familiar PHP syntax you already know, making custom test workflows easy to build and maintain. | 226 | 203 | 21 | 10K | 35 | 47.2 | 44.2 | BSD-3-Clause | 3 weeks ago | |
| bigbluebutton/bigbluebutton-api-php | 0.65 | Official PHP 8.2+ client for the BigBlueButton API. Wraps meeting creation, joining, recording management, and server administration in a developer-friendly interface, installable via Composer for quick integration into PHP applications. | 192 | 196 | 208 | 33K | 3 | 31.3 | 36.4 | LGPL-3.0 | 2 months 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 | 20K | 3 | 22.4 | 50.6 | BSD-3-Clause | 1 week ago | |
| wyrihaximus/test-utilities | 0.65 | Test utilities for api-clients packages, providing a PHPStan extension so test classes can extend WyriHaximus\TestUtilities\TestCase, with automatic registration via phpstan/extension-installer or manual inclusion of extension.neon. | 7 | 7 | 1 | 204K | 6 | 35.0 | 69.0 | MIT | 5 days ago | |
| spatie/laravel-json-api-paginate | 0.64 | A Laravel package that adds a jsonPaginate method to the Eloquent query builder, so pagination reads page[number] and page[size] request parameters and returns the pagination links required by the JSON:API spec. | 645 | 651 | 47 | 178K | 0 | 29.0 | 38.4 | MIT | 3 months ago |
How can I help you explore Laravel packages today?