justinrainbow/json-schema
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.
"true" strings to booleans) or default values for API inputs."This package lets us enforce strict data contracts across our APIs, databases, and internal tools—reducing bugs, improving compliance, and cutting manual QA time. For example, if a third-party sends malformed JSON to our payment API, we’ll catch it immediately with clear error messages, not after a failed transaction. It’s a low-code way to future-proof our systems against schema drift, with support for modern standards like Draft-7. The MIT license and 3.6K+ stars mean it’s battle-tested by enterprises like Shopify and GitHub."
*"This is the de facto JSON Schema validator for PHP, with:
FormRequest validation.
Use case: Drop it into your API gateway to validate OpenAPI specs, or use it in your CLI tools to reject misconfigured YAML/JSON inputs before they hit production."*Key Metrics to Track:
How can I help you explore Laravel packages today?