A fast, spec-compliant PHP implementation of JSON Schema validation supporting Draft 04, 06, 07, 2019-09, and 2020-12.
|
All checks were successful
Draft 04 / test (push) Successful in 1m52s
Draft 07 / test (push) Successful in 1m48s
Draft 06 / test (push) Successful in 1m50s
Draft 2019-09 / test (push) Successful in 1m51s
Draft 2020-12 / test (push) Successful in 1m37s
Quality Assurance / PHPStan on 8.5 (push) Successful in 1m52s
Quality Assurance / Tests on 8.5 (push) Successful in 2m12s
Quality Assurance / Code Style on 8.5 (push) Successful in 1m46s
Quality Assurance / Rector on 8.5 (push) Successful in 1m56s
Signed-off-by: Brian Faust <brian@cline.sh> |
||
|---|---|---|
| .github | ||
| .prism/snapshots | ||
| compliance | ||
| docker/php | ||
| resources | ||
| src | ||
| tests | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| .gitmodules | ||
| CHANGELOG.md | ||
| CODE_OF_CONDUCT.md | ||
| compliance_results.txt | ||
| COMPLIANCE_STATUS.md | ||
| composer.json | ||
| CONTRIBUTING.md | ||
| docker-compose.yml | ||
| ecs.php | ||
| LICENSE.md | ||
| Makefile | ||
| phpstan.neon.dist | ||
| phpunit.xml.dist | ||
| prism.php | ||
| README.md | ||
| rector.php | ||
| SECURITY.md | ||
| test_format.php | ||
| test_format_annotation.php | ||
| testbench.yaml | ||
| VOCAB.md | ||
JSON Schema Compliance
JSON Schema Validator
A fast, spec-compliant PHP implementation of JSON Schema validation supporting Draft 04, 06, 07, 2019-09, and 2020-12.
Requirements
Requires PHP 8.4+
Installation
composer require cline/json-schema
Documentation
- Getting Started - Installation and basic usage
- Validation Guide - Advanced validation techniques
- Schema Builder - Programmatic schema construction
- API Reference - Complete API documentation
Change log
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please use the GitHub security reporting form rather than the issue queue.
Credits
License
The MIT License. Please see License File for more information.