Download the PHP package sixlive/json-schema-assertions without Composer
On this page you can find all versions of the php package sixlive/json-schema-assertions. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sixlive/json-schema-assertions
More information about sixlive/json-schema-assertions
Files in sixlive/json-schema-assertions
Package json-schema-assertions
Short Description JSON Schema assertions
License MIT
Homepage https://github.com/sixlive/json-schema-assertions
Informations about the package json-schema-assertions
JSON Schema Assertions
JSON Schema schema assertions for PHP. Uses swaggest/php-json-schema under the hood.
Framework Integrations
Installation
You can install the package via composer:
Usage
If you are making use of external schema refrences e.g. $ref: 'bar.json
, you must reference the schema through file path or using the config path resolution.
You can either use the AssertsJsonSchema
trait or manually construct the schema assertion.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Code Style
In addition to the php-cs-fixer rules, StyleCI will apply the Laravel preset.
Linting
Fixing
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- TJ Miller
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of json-schema-assertions with dependencies
swaggest/json-schema Version ^0.12.0
phpunit/phpunit Version ^9.0|^10.0|^11.0