PHPackages                             caper87/json-schema - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. caper87/json-schema

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

caper87/json-schema
===================

A library to validate a json schema.

5.2.6(8y ago)013MITPHPPHP &gt;=5.3.3

Since Jan 3Pushed 8y ago1 watchersCompare

[ Source](https://github.com/caper87/json-schema)[ Packagist](https://packagist.org/packages/caper87/json-schema)[ Docs](https://github.com/justinrainbow/json-schema)[ RSS](/packages/caper87-json-schema/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (3)Versions (44)Used By (0)

JSON Schema for PHP
===================

[](#json-schema-for-php)

[![Build Status](https://camo.githubusercontent.com/8dc4f1563c50beed99841865b695614eaa6319b6a066066208c01368d6b9d445/68747470733a2f2f7472617669732d63692e6f72672f6a757374696e7261696e626f772f6a736f6e2d736368656d612e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/justinrainbow/json-schema)[![Latest Stable Version](https://camo.githubusercontent.com/372ced0182836079f9e530f5cf8248fc1db445c3c4b270833839055feb8a7fd6/68747470733a2f2f706f7365722e707567782e6f72672f6a757374696e7261696e626f772f6a736f6e2d736368656d612f762f737461626c652e706e67)](https://packagist.org/packages/justinrainbow/json-schema)[![Total Downloads](https://camo.githubusercontent.com/27d7f6b5d676556209c8cc376e6202d3a9db5c5bd1ecdbd7a7e62d7503e55158/68747470733a2f2f706f7365722e707567782e6f72672f6a757374696e7261696e626f772f6a736f6e2d736368656d612f646f776e6c6f6164732e706e67)](https://packagist.org/packages/justinrainbow/json-schema)

A PHP Implementation for validating `JSON` Structures against a given `Schema`.

See [json-schema](http://json-schema.org/) for more details.

Installation
------------

[](#installation)

### Library

[](#library)

```
git clone https://github.com/justinrainbow/json-schema.git
```

### Composer

[](#composer)

[Install PHP Composer](https://getcomposer.org/doc/00-intro.md)

```
composer require justinrainbow/json-schema
```

Usage
-----

[](#usage)

```
