JSON schema validation with PHP

Omer picture Omer · May 3, 2010 · Viewed 25.5k times · Source

Is there any PHP library that validates a JSON object against a JSON Schema?

Answer

paq85 picture paq85 · Aug 8, 2013

I'm using Justin Rainbow's JSON Schema for PHP https://github.com/justinrainbow/json-schema and I'm quite happy about it.

It's a fork of http://jsonschemaphpv.sourceforge.net/

You can easily install it via Composer.