Download the PHP package claroline/jval without Composer
On this page you can find all versions of the php package claroline/jval. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download claroline/jval
More information about claroline/jval
Files in claroline/jval
Download claroline/jval
More information about claroline/jval
Files in claroline/jval
Vendor claroline
Package jval
Short Description JSON Schema validator
License MIT
Homepage https://github.com/stefk/JVal
Package jval
Short Description JSON Schema validator
License MIT
Homepage https://github.com/stefk/JVal
Please rate this library. Is it a good library?
Informations about the package jval
JVal
A JSON Schema validator written in PHP.
Features:
- Full draft 4 support (passes the whole official [test suite] (https://github.com/json-schema/JSON-Schema-Test-Suite), except for the two tests that require big nums to be treated as integers, which is not feasible in PHP)
- Distinct steps for references resolution, syntax parsing and data validation.
Installation
composer require stefk/jval dev-master
Basic usage
Data can be anything that might result from a call to json_decode
. The schema
must be the JSON-decoded representation of a JSON Schema, i.e. a stdClass
instance.
If the schema contains relative references to external schemas (either remote or local), the absolute URI of the base schema will probably be needed as well:
CLI
All versions of jval with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.1
ext-mbstring Version *
ext-mbstring Version *
The package claroline/jval contains the following files
Loading the files please wait ....