php-extended / php-json-schema-object
A library that implements the php-extended/php-json-schema-interface library
7.0.7
2024-12-08 18:13 UTC
Requires
Requires (Dev)
README
A library that implements the php-extended/php-json-schema-interface interface library.
Installation
The installation of this library is made via composer and the autoloading of all classes of this library is made through their autoloader.
- Download
composer.phar
from their website. - Then run the following command to install this library as dependency :
php composer.phar php-extended/php-json-schema-object ^7
Basic Usage
This library may be used the following way :
use PhpExtended\JsonSchema\JsonSchemaProvider;
$provider = new JsonSchemaProvider();
$schema = $provider->provideFromFile('/path/to/file-schema.json');
// $schema is \PhpExtended\JsonSchema\JsonSchema
License
MIT (See license file).