PHPackages                             ivanmilosavljevic/knp-json-schema-bundle - 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. ivanmilosavljevic/knp-json-schema-bundle

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

ivanmilosavljevic/knp-json-schema-bundle
========================================

A bundle to generate json schema based on various metadata

1.2.6(9y ago)04.1k↓100%2[1 PRs](https://github.com/ivanmilosavljevic/KnpJsonSchemaBundle/pulls)MITPHPPHP &gt;=5.3

Since Dec 17Pushed 8y ago1 watchersCompare

[ Source](https://github.com/ivanmilosavljevic/KnpJsonSchemaBundle)[ Packagist](https://packagist.org/packages/ivanmilosavljevic/knp-json-schema-bundle)[ RSS](/packages/ivanmilosavljevic-knp-json-schema-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (15)Used By (0)

KnpJsonSchema Bundle
====================

[](#knpjsonschema-bundle)

This Symfony bundle offers support for creating [JSON Schema](http://json-schema.org) definition from [Doctrine ORM](http://www.doctrine-project.org/projects/orm.html) entities. JSON Schema is described in its specification as:

> JSON Schema is a JSON media type for defining the structure of JSON data. JSON Schema provides a contract for what JSON data is required for a given application and how to interact with it. JSON Schema is intended to define validation, documentation, hyperlink navigation, and interaction control of JSON data.

This bundle provides a service which allows you to generate JSON Schema based on the metadata for your entities, including it's schema and validation information.

Documentation
-------------

[](#documentation)

[Read the documentation here](http://knplabs.github.com/KnpJsonSchemaBundle/)

License
-------

[](#license)

This bundle is under the [MIT License](LICENSE)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 53.4% of commits — single point of failure

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 ~165 days

Recently: every ~25 days

Total

9

Last Release

3500d ago

PHP version history (2 changes)1.0PHP &gt;=5.4

1.1.0PHP &gt;=5.3

### Community

---

Top Contributors

[![stanlemon](https://avatars.githubusercontent.com/u/86314?v=4)](https://github.com/stanlemon "stanlemon (39 commits)")[![lube](https://avatars.githubusercontent.com/u/4809248?v=4)](https://github.com/lube "lube (10 commits)")[![docteurklein](https://avatars.githubusercontent.com/u/109846?v=4)](https://github.com/docteurklein "docteurklein (10 commits)")[![gquemener](https://avatars.githubusercontent.com/u/668604?v=4)](https://github.com/gquemener "gquemener (7 commits)")[![pedropapa](https://avatars.githubusercontent.com/u/2160382?v=4)](https://github.com/pedropapa "pedropapa (5 commits)")[![mhor](https://avatars.githubusercontent.com/u/4103719?v=4)](https://github.com/mhor "mhor (1 commits)")[![K-Phoen](https://avatars.githubusercontent.com/u/66958?v=4)](https://github.com/K-Phoen "K-Phoen (1 commits)")

### Embed Badge

![Health badge](/badges/ivanmilosavljevic-knp-json-schema-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/ivanmilosavljevic-knp-json-schema-bundle/health.svg)](https://phpackages.com/packages/ivanmilosavljevic-knp-json-schema-bundle)
```

###  Alternatives

[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[opis/closure

A library that can be used to serialize closures (anonymous functions) and arbitrary data.

2.6k230.0M284](/packages/opis-closure)[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)[michelf/php-markdown

PHP Markdown

3.5k52.4M345](/packages/michelf-php-markdown)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)

PHPackages © 2026

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