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. | 1,322 | 1,346 | 59 | 3M | 2 | 35.7 | 56.3 | MIT | 1 year ago | |
| 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. | 486 | 492 | 51 | 318K | 22 | 39.7 | 56.1 | 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. | 35 | 36 | 0 | 1M | 1 | 24.2 | 65.9 | MIT | 7 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. | 642 | 647 | 64 | 2M | 9 | 33.3 | 60.1 | Apache-2.0 | 5 months ago | |
| ml/json-ld | 0.82 | 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 | — | |
| 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 | 0 | 0 | 8K | 0 | 20.6 | 58.1 | 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... | 81 | 82 | 5 | 1M | 0 | 30.4 | 67.7 | MIT | 7 months ago | |
| ergebnis/json-pointer | 0.81 | RFC 6901 JSON Pointer abstraction for PHP. Create, parse, and encode reference tokens from plain strings, JSON strings, or URI fragment identifiers, with helpers to output JSON-safe and URI-safe forms. Install via Composer: ergebnis/json-pointer. | 19 | 19 | 0 | 1M | 0 | 24.0 | 65.0 | MIT | 2 days ago | |
| beste/json | 0.79 | 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 | |
| ergebnis/json-printer | 0.75 | 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. | 90 | 91 | 2 | 1M | 0 | 26.2 | 66.8 | MIT | 7 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,570 | 1,596 | 186 | 2M | 5 | 14.8 | 44.4 | 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,077 | 1,082 | 54 | 290K | 0 | 36.3 | 39.5 | MIT | 1 month ago | |
| wyrihaximus/async-test-utilities | 0.73 | Async test utilities for PHP/React tests. Extend AsyncTestCase to run each test inside a Fiber, get random namespaces/directories for filesystem tests, and control per-test or per-class timeouts via the TimeOut attribute (default 30s). | 4 | 4 | 0 | 13K | 1 | 29.5 | 55.3 | MIT | 4 days 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 | 48 | 2K | 3 | 24.5 | 18.7 | LGPL-2.1 | 6 months ago |
How can I help you explore Laravel packages today?