# JSON Schema for PHP

PHP library that validates JSON data against JSON Schema specifications and reports the violations.


Source: https://findsoftware.frbit.cloud/json-schema-php/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- home: https://jsonrainbow.github.io/docs/
- repository: https://github.com/jsonrainbow/json-schema
- docs: https://jsonrainbow.github.io/docs/docs/getting-started.html

### Identity

- status: active
- maintainer: Danny van der Sluijs
- maintainerType: unknown
- parent: unknown
- firstRelease: 2012
- hqCountry: unknown

### Kind

- category: library
- hosting: php
- language: php
- runtime: php
- runtimeMin: php 7.2
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: composer require

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 6
- latestReleaseDate: 2026-10-24

### Adoption

- githubStargazers: 3625
- packagistDownloads: 373720409
- npmWeeklyDownloads: not applicable
- contributors: 125
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 40974
- dependentPackages: 617

### Sources

- urls: https://jsonrainbow.github.io/docs/ (read 2026-11-16)
- urls: https://jsonrainbow.github.io/docs/docs/getting-started.html (read 2026-11-16)
- urls: https://api.github.com/repos/jsonrainbow/json-schema (read 2026-11-16)
- maintainer: https://github.com/jsonrainbow/json-schema/blob/6.14.0/composer.json (read 2026-11-16)
- category: https://github.com/jsonrainbow/json-schema/blob/main/README.md (read 2026-11-16)
- language: https://api.github.com/repos/jsonrainbow/json-schema (read 2026-11-16)
- runtime: https://github.com/jsonrainbow/json-schema/blob/main/README.md (read 2026-11-16)
- runtimeMin: https://github.com/jsonrainbow/json-schema/blob/6.14.0/composer.json (read 2026-11-16)
- installMethod: https://jsonrainbow.github.io/docs/docs/getting-started.html (read 2026-11-16)
- license: https://github.com/jsonrainbow/json-schema/blob/main/LICENSE (read 2026-11-16)
- licenseModel: https://github.com/jsonrainbow/json-schema/blob/main/LICENSE (read 2026-11-16)
- currentMajor: https://api.github.com/repos/jsonrainbow/json-schema/releases/tags/6.14.0 (read 2026-11-16)
- latestReleaseDate: https://api.github.com/repos/jsonrainbow/json-schema/releases/tags/6.14.0 (read 2026-11-16)
- firstRelease: https://repo.packagist.org/p2/justinrainbow/json-schema.json (read 2026-11-16)
- packagistDownloads: https://packagist.org/packages/justinrainbow/json-schema.json (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/jsonrainbow/json-schema (read 2026-11-16)
- contributors: https://api.github.com/repos/jsonrainbow/json-schema/contributors?per_page=1 (read 2026-11-16)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/justinrainbow%2Fjson-schema (read 2026-11-16)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/justinrainbow%2Fjson-schema (read 2026-11-16)

## Notes

JSON Schema for PHP validates JSON data against a JSON Schema and reports the violations it finds. The README describes support for several drafts of the JSON Schema specification, and the docs say the library integrates into frameworks such as Laravel and Symfony.

## Worth knowing

The README notes that features of newer drafts might not be supported, and it points to a Bowtie compliance report for the current state of draft support.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
