Download the PHP package cortexphp/json-schema without Composer
On this page you can find all versions of the php package cortexphp/json-schema. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download cortexphp/json-schema
More information about cortexphp/json-schema
Files in cortexphp/json-schema
Download cortexphp/json-schema
More information about cortexphp/json-schema
Files in cortexphp/json-schema
Vendor cortexphp
Package json-schema
Short Description A fluent JSON Schema builder for PHP
License MIT
Homepage https://github.com/cortexphp/json-schema
Package json-schema
Short Description A fluent JSON Schema builder for PHP
License MIT
Homepage https://github.com/cortexphp/json-schema
Please rate this library. Is it a good library?
Informations about the package json-schema
Fluently build and validate JSON Schemas
Features
- 🏗️ Fluent Builder API - Build JSON Schemas using an intuitive fluent interface
- 📝 Multi-Version Support - Support for JSON Schema Draft-06, Draft-07, Draft 2019-09, and Draft 2020-12
- ✅ Validation - Validate data against schemas with detailed error messages
- 🤝 Conditional Schemas - Support for if/then/else, allOf, anyOf, and not conditions
- 🔄 Reflection - Generate schemas from PHP Classes, Enums and Closures
- 💪 Type Safety - Built with PHP 8.3+ features and strict typing
- 🔍 Version-Aware Features - Automatic validation of version-specific features with helpful error messages
JSON Schema Version Support
This package supports multiple JSON Schema specification versions with automatic feature validation:
Supported Versions
- Draft 2020-12 - (Default) Latest version with
prefixItems, dynamic references, and format vocabularies - Draft 2019-09 - Adds advanced features like
$defs,unevaluatedProperties,deprecated - Draft-07 (2018) - Legacy version with broad tool compatibility
- Draft-06 (2017) - Legacy version for maximum compatibility with older tooling
Requirements
- PHP 8.3+
Installation
Quick Start
Documentation
Credits
- Sean Tymon
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of json-schema with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.3
ext-json Version *
opis/json-schema Version ^2.4
phpstan/phpdoc-parser Version ^2.3
ext-json Version *
opis/json-schema Version ^2.4
phpstan/phpdoc-parser Version ^2.3
The package cortexphp/json-schema contains the following files
Loading the files please wait ...