PHPackages                             folha/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. folha/json-schema

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

folha/json-schema
=================

A library to validate a json schema.

1.5.0(10y ago)0151BSD-3-ClausePHPPHP &gt;=5.3.2

Since Jan 3Pushed 9y ago7 watchersCompare

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

READMEChangelogDependenciesVersions (20)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

```

### Dependencies

[](#dependencies)

#### [`Composer`](https://github.com/composer/composer) (*will use the Composer ClassLoader*)

[](#composer-will-use-the-composer-classloader)

```
$ wget http://getcomposer.org/composer.phar
$ php composer.phar require justinrainbow/json-schema:~1.3

```

Usage
-----

[](#usage)

```
