PHPackages                             league/json-guard - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. league/json-guard

AbandonedLibrary[Validation &amp; Sanitization](/categories/validation)

league/json-guard
=================

A validator for JSON using json-schema.

1.0.1(9y ago)1831.9M—3%[1 PRs](https://github.com/thephpleague/json-guard/pulls)20MITPHP &gt;=5.6.0

Since Apr 15Compare

[ Source](https://github.com/thephpleague/json-guard)[ Packagist](https://packagist.org/packages/league/json-guard)[ Docs](https://github.com/thephpleague/json-guard)[ RSS](/packages/league-json-guard/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (6)Versions (16)Used By (20)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/thephpleague/json-guard).

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity51

Moderate usage in the ecosystem

Community15

Small or concentrated contributor base

Maturity66

Established project with proven stability

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~27 days

Recently: every ~12 days

Total

15

Last Release

3302d ago

Major Versions

0.5.2 → 1.0.0-alpha2017-04-24

PHP version history (2 changes)v0.1.0PHP &gt;=5.5.0

1.0.0-alphaPHP &gt;=5.6.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/534693?v=4)[Frank de Jonge](/maintainers/frankdejonge)[@frankdejonge](https://github.com/frankdejonge)

![](https://www.gravatar.com/avatar/a2687baf734ad8beb4dcc84d936ab41a500412e0aad55ab5a15a2205cacee15f?d=identicon)[matt-allan](/maintainers/matt-allan)

---

Tags

jsonschemavalidationjson-schemajson-schema.org

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/league-json-guard/health.svg)

```
[![Health](https://phpackages.com/badges/league-json-guard/health.svg)](https://phpackages.com/packages/league-json-guard)
```

###  Alternatives

[opis/json-schema

Json Schema Validator for PHP

64736.9M186](/packages/opis-json-schema)[geraintluff/jsv4

A (coercive) JSON Schema v4 Validator for PHP

115455.2k4](/packages/geraintluff-jsv4)[romaricdrigon/metayaml

Using \[Yaml|Xml|json\] schemas files to validate \[Yaml|Xml|json\]

103306.5k8](/packages/romaricdrigon-metayaml)[evaisse/php-json-schema-generator

A JSON Schema Generator.

20298.5k1](/packages/evaisse-php-json-schema-generator)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
