Skip to content
JSON Schema validator for PHP
Branch: master
Clone or download
Pull request Compare This branch is 12 commits behind opis:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
.gitattributes
.gitignore
.travis.yml
LICENSE
NOTICE
README.md
autoload.php
composer.json
phpunit.xml

README.md

Opis JSON Schema

Build Status Latest Stable Version Latest Unstable Version License

Validate JSON documents

Opis JSON Schema is a PHP implementation for the JSON Schema standard (draft-07 and draft-06), that will help you validate all sorts of JSON documents, whether they are configuration files or a set of data sent to an RESTful API endpoint.

The library's key features:

Documentation

The full documentation for this library can be found here. We provide documentation for both JSON Schema standard itself as well as for the library's own API.

License

Opis JSON Schema is licensed under the Apache License, Version 2.0.

Requirements

  • PHP ^7.0

Installation

Opis JSON Schema is available on Packagist and it can be installed from a command line interface by using Composer.

composer require opis/json-schema

Or you could directly reference it into your composer.json file as a dependency

{
    "require": {
        "opis/json-schema": "^1.0"
    }
}
You can’t perform that action at this time.