seld/jsonlint
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ergebnis/json | 0.91 | 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. | 24 | 24 | 1 | 1M | 2 | 23.4 | 66.8 | MIT | 7 months ago | |
| opis/json-schema | 0.87 | 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 | |
| swaggest/json-schema | 0.86 | 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 | |
| php-standard-library/json | 0.84 | 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 | |
| justinrainbow/json-schema | 0.84 | Validate JSON data against JSON Schema in PHP. Supports draft-3, draft-4, draft-6, and draft-7 with $ref resolution and detailed validation errors. Install via Composer and validate decoded JSON objects against local or remote schemas. | 3,627 | 3,676 | 369 | 5M | 4 | 60.2 | 52.6 | MIT | 6 days ago | |
| illuminate/json-schema | 0.81 | Laravel Illuminate JSON Schema package for validating, building, and working with JSON Schema definitions. Designed to integrate with the Illuminate ecosystem, providing a clean PHP API for schema creation, checking, and tooling-friendly workflows. | 25 | 25 | 1 | 387K | 0 | 0.2 | 55.3 | MIT | — | |
| json-schema/json-schema-test-suite | 0.78 | 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 | 19 | 0 | 0.0 | 18.0 | — | — | |
| beste/json | 0.78 | 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 |
How can I help you explore Laravel packages today?