cline/json-schema
Immutable JSON Schema implementation with support for drafts 2020-12, 2019-09, draft-07, draft-06, and draft-05
1,251
| Install | |
|---|---|
composer require cline/json-schema |
|
| Latest Version: | 2.0.3 |
| PHP: | ^8.5.0 |
| License: | MIT |
| Last Updated: | Mar 18, 2026 |
| Links: | GitHub · Packagist |
Maintainer: faustbrian
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.
Related Packages
codezero/laravel-unique-translation
Check if a translated value in a JSON column is unique in the database.
1,101,358
188
kalani/validation-rule-generator
Laravel 4 class to automatically generate validation rules based on table schema
1,044
8
mojopollo/laravel-json-schema
Create all your migrations and models from one JSON schema file. Laravel Databas...
546
113