ergebnis/json
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| seld/jsonlint | 0.91 | 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 | — | — | |
| herrera-io/json | 0.85 | 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 | — | — | |
| swaggest/json-schema | 0.85 | PHP library for JSON Schema (Draft 4/6/7): import schemas, validate JSON data, and define high-level PHP structures with schema-based rules. Supports $ref/definitions, formats, and detailed validation errors for robust data validation. | 488 | 494 | 52 | 287K | 22 | 19.9 | 46.2 | MIT | 1 year ago | |
| ergebnis/json-schema-validator | 0.85 | Validate JSON data against JSON Schema in PHP with a focus on clear, actionable errors. Built on top of justinrainbow/json-schema, it adds structured reporting and better integration for projects needing reliable schema validation in tests and runtime. | 36 | 37 | 0 | 1M | 1 | 9.2 | 58.4 | MIT | 9 months ago | |
| opis/json-schema | 0.83 | Opis JSON Schema validates JSON documents against JSON Schema drafts 2020-12 to 06. Includes custom errors, PHP filters, schema reuse/mappers, slots, pointers, URI templates, $data, casting, and custom formats/media types. | 648 | 654 | 67 | 2M | 12 | 21.3 | 55.6 | Apache-2.0 | 7 months ago | |
| php-standard-library/json | 0.82 | 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 | 2 weeks ago | |
| ergebnis/json-normalizer | 0.81 | Normalize JSON documents with composable normalizers. Includes generic and vendor-specific normalizers for formatting, indentation, schema-based ordering, JSON encoding, chaining, callbacks, and controlling final newlines. Install via Composer and apply a Normalizer to produce consistent JSON output... | 82 | 83 | 5 | 1M | 0 | 15.5 | 58.8 | 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 | |
| yiisoft/json | 0.81 | 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 | — | — | |
| beste/json | 0.77 | 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 | |
| ergebnis/json-printer | 0.76 | Pretty-print and re-indent JSON strings with customizable indentation (spaces or tabs). Ergebnis\Json\Printer\Printer normalizes indentation only—no escaping/unescaping—making it easy to convert minified or differently formatted JSON into a consistent style. | 91 | 92 | 2 | 1M | 0 | 11.2 | 57.9 | MIT | 9 months ago | |
| netresearch/jsonmapper | 0.74 | Map JSON to strongly-typed PHP objects with JSONMapper. Hydrate class properties from stdClass/arrays, support nested objects and collections, docblock/type-hint based mapping, and optional strict checking for missing or invalid fields. | 1,574 | 1,600 | 187 | 2M | 3 | 14.3 | 43.8 | OSL-3.0 | — | |
| spatie/laravel-schemaless-attributes | 0.74 | Add “schemaless” JSON attributes to Laravel Eloquent models. Store arbitrary key/value data in one JSON column with a fluent API: get/set via properties or arrays, dot-notation access, defaults, forget keys, and query scopes for matching attributes. | 1,080 | 1,084 | 54 | 372K | 0 | 30.7 | 39.5 | MIT | 3 months ago | |
| simpletest/simpletest | 0.73 | 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 | 6K | 3 | 10.2 | 24.6 | LGPL-2.1 | 8 months ago |
How can I help you explore Laravel packages today?