Download the PHP package sixlive/laravel-json-schema-assertions without Composer
On this page you can find all versions of the php package sixlive/laravel-json-schema-assertions. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sixlive/laravel-json-schema-assertions
More information about sixlive/laravel-json-schema-assertions
Files in sixlive/laravel-json-schema-assertions
Package laravel-json-schema-assertions
Short Description Laravel JSON Schema assertions
License MIT
Homepage https://github.com/sixlive/laravel-schema-assertions
Informations about the package laravel-json-schema-assertions
Laravel JSON Schema Assertions
JSON Schema schema assertions for Laravel test responses. Uses swaggest/php-json-schema under the hood.
Installation
You can install the package via composer:
This package uses Laravel's package discovery to register the service provider to the framework. If you are using an older version of Laravel or do not use package discovery see below.
Provider registration
Configuration
Publish the packages config file:
This is the contents of the file which will be published at config/json-schema-assertions
:
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.
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 laravel-json-schema-assertions with dependencies
laravel/framework Version ^8.70|^9.0|^10.0|^11.0
phpunit/phpunit Version ^9.5|^10.0|^11.0
sixlive/json-schema-assertions Version ^2.0