2017 © Pedro Peláez
 

library json-guard

A validator for JSON using json-schema.

image

rodrigonull/json-guard

A validator for JSON using json-schema.

  • Tuesday, January 10, 2017
  • by rodrigonull
  • Repository
  • 1 Watchers
  • 0 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 33 Forks
  • 0 Open issues
  • 11 Versions
  • 0 % Grown

The README.md

JSON Guard

![Software License][ico-license] Build Status ![Coverage Status][ico-scrutinizer] Quality Score ![Documentation][ico-docs], (*1)

This package is a validator for JSON Schema. It fully supports draft 4 of the specification., (*2)

Notable Features:, (*3)

  • Passes the entire draft 4 JSON Schema Test Suite.
  • Fully supports remote references.
  • Fully supports circular references.
  • Unique error codes for every validation error.

Install

Via Composer

composer require league/json-guard

Usage

Complete documentation is available here., (*4)

Change log

Please see CHANGELOG for more information about what has changed recently., (*5)

Testing

You need to run a web server while testing. A simple node server is in the tests directory., (*6)

$ node tests/server.js

Once the server is running, you can run the test suite., (*7)

bash $ composer test, (*8)

Contributing

Please see CONTRIBUTING for details., (*9)

Stability

This package is pre 1.0 so anything can break at any time. That being said, breaking changes are typically released in the minor version (the x in 0.x.y)., (*10)

Security

If you discover any security related issues, please email matthew.james.allan@gmail.com instead of using the issue tracker., (*11)

Credits

License

The MIT License (MIT). Please see License File for more information., (*12)

The Versions

10/01 2017

dev-master

9999999-dev https://github.com/thephpleague/json-guard

A validator for JSON using json-schema.

  Sources   Download

MIT

The Requires

 

The Development Requires

schema json validation json-schema json-schema.org

28/11 2016

0.5.1

0.5.1.0 https://github.com/thephpleague/json-guard

A validator for JSON using json-schema.

  Sources   Download

MIT

The Requires

 

The Development Requires

schema json validation json-schema json-schema.org

28/11 2016

0.5.0

0.5.0.0 https://github.com/thephpleague/json-guard

A validator for JSON using json-schema.

  Sources   Download

MIT

The Requires

 

The Development Requires

schema json validation json-schema json-schema.org

03/11 2016

0.4.0

0.4.0.0 https://github.com/thephpleague/json-guard

A validator for JSON using json-schema.

  Sources   Download

MIT

The Requires

 

The Development Requires

schema json validation json-schema json-schema.org

22/08 2016

0.3.3

0.3.3.0 https://github.com/thephpleague/json-guard

A validator for JSON using json-schema.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

schema json validation json-schema json-schema.org

27/07 2016

0.3.2

0.3.2.0 https://github.com/thephpleague/json-guard

A validator for JSON using json-schema.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

schema json validation json-schema json-schema.org

28/06 2016

0.3.1

0.3.1.0 https://github.com/thephpleague/json-guard

A validator for JSON using json-schema.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

schema json validation json-schema json-schema.org

11/05 2016

0.3.0

0.3.0.0 https://github.com/thephpleague/json-guard

A validator for JSON using json-schema.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

schema json validation json-schema json-schema.org

09/05 2016

v0.2.1

0.2.1.0 https://github.com/thephpleague/json-guard

A validator for JSON using json-schema.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

schema json validation json-schema json-schema.org

04/05 2016

v0.2.0

0.2.0.0 https://github.com/thephpleague/json-guard

A validator for JSON using json-schema.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

schema json validation json-schema json-schema.org

15/04 2016

v0.1.0

0.1.0.0 https://github.com/yuloh/json-guard

A validator for JSON using json-schema.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

schema json validation machete json-schema.org