php-extended / php-json-schema-object
A library that implements the php-extended/php-json-schema-interface library
Package info
gitlab.com/php-extended/php-json-schema-object
pkg:composer/php-extended/php-json-schema-object
9.0.1
2026-02-27 09:16 UTC
Requires
Requires (Dev)
This package is auto-updated.
Last update: 2026-02-27 08:17:15 UTC
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.pharfrom their website. - Then run the following command to install this library as dependency :
php composer.phar php-extended/php-json-schema-object ^9
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).