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

This package is auto-updated.

Last update: 2024-12-08 17:14:35 UTC


README

A library that implements the php-extended/php-json-schema-interface interface library.

coverage build status

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).