PHPackages                             dunglas/php-schema - 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. [Database &amp; ORM](/categories/database)
4. /
5. dunglas/php-schema

Abandoned → [api-platform/schema-generator](/?search=api-platform%2Fschema-generator)Library[Database &amp; ORM](/categories/database)

dunglas/php-schema
==================

Various tools to generate a data model based on Schema.org vocables

v5.2.5(3mo ago)4695.6k108[22 issues](https://github.com/api-platform/schema-generator/issues)[2 PRs](https://github.com/api-platform/schema-generator/pulls)2MITPHPPHP &gt;=7.4CI passing

Since Dec 16Pushed 3mo ago24 watchersCompare

[ Source](https://github.com/api-platform/schema-generator)[ Packagist](https://packagist.org/packages/dunglas/php-schema)[ Docs](https://api-platform.com/docs/schema-generator/)[ RSS](/packages/dunglas-php-schema/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (25)Versions (40)Used By (2)

API Platform Schema Generator
=============================

[](#api-platform-schema-generator)

`schema` is a command line tool part of [the API Platform framework](https://api-platform.com) that instantly generates a set of PHP classes from vocabularies such as (but not limited to) [Schema.org](https://schema.org)or [ActivityStreams](https://www.w3.org/TR/activitystreams-core/) or from an [OpenAPI](https://www.openapis.org/) documentation.

[![GitHub Actions](https://github.com/api-platform/schema-generator/workflows/CI/badge.svg?branch=main)](https://github.com/api-platform/schema-generator/actions?query=workflow%3ACI+branch%3Amain)[![Coverage Status](https://camo.githubusercontent.com/1fc747a1853e329615cbb73eaf8601114c641f90c4faa3d0390c531d82420076/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6170692d706c6174666f726d2f736368656d612d67656e657261746f722f62616467652e7376673f6272616e63683d6d61696e)](https://coveralls.io/github/api-platform/schema-generator?branch=main)

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

[](#documentation)

- [Introduction](https://api-platform.com/docs/schema-generator/)
- [Getting Started](https://api-platform.com/docs/schema-generator/getting-started)
- [Configuration](https://api-platform.com/docs/schema-generator/configuration)

Credits
-------

[](#credits)

This project was created by [Kévin Dunglas](https://dunglas.fr) and is sponsored by [Les-Tilleuls.coop](https://les-tilleuls.coop).

###  Health Score

61

—

FairBetter than 99% of packages

Maintenance79

Regular maintenance activity

Popularity44

Moderate usage in the ecosystem

Community36

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 63.2% 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 ~123 days

Recently: every ~236 days

Total

34

Last Release

106d ago

Major Versions

v0.4.3 → v1.0.02015-09-17

v1.2.0 → v2.0.02017-09-08

v2.2.2 → v3.0.02021-01-20

v3.0.0 → v4.0.02021-12-24

v4.0.1 → v5.0.02022-09-06

PHP version history (3 changes)v0.1.0PHP &gt;=5.4

v2.0.0PHP &gt;=7.1

v3.0.0PHP &gt;=7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/57224?v=4)[Kévin Dunglas](/maintainers/dunglas)[@dunglas](https://github.com/dunglas)

---

Top Contributors

[![dunglas](https://avatars.githubusercontent.com/u/57224?v=4)](https://github.com/dunglas "dunglas (240 commits)")[![alanpoulain](https://avatars.githubusercontent.com/u/10920253?v=4)](https://github.com/alanpoulain "alanpoulain (40 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (14 commits)")[![soyuka](https://avatars.githubusercontent.com/u/1321971?v=4)](https://github.com/soyuka "soyuka (14 commits)")[![vincentchalamon](https://avatars.githubusercontent.com/u/407859?v=4)](https://github.com/vincentchalamon "vincentchalamon (9 commits)")[![baspeeters](https://avatars.githubusercontent.com/u/393346?v=4)](https://github.com/baspeeters "baspeeters (7 commits)")[![PawelSuwinski](https://avatars.githubusercontent.com/u/1256986?v=4)](https://github.com/PawelSuwinski "PawelSuwinski (6 commits)")[![theofidry](https://avatars.githubusercontent.com/u/5175937?v=4)](https://github.com/theofidry "theofidry (5 commits)")[![TheArrowRichard](https://avatars.githubusercontent.com/u/87716741?v=4)](https://github.com/TheArrowRichard "TheArrowRichard (4 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")[![marciosmiderle](https://avatars.githubusercontent.com/u/25065217?v=4)](https://github.com/marciosmiderle "marciosmiderle (3 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (3 commits)")[![andreybolonin](https://avatars.githubusercontent.com/u/2576509?v=4)](https://github.com/andreybolonin "andreybolonin (3 commits)")[![jlagneau](https://avatars.githubusercontent.com/u/7811277?v=4)](https://github.com/jlagneau "jlagneau (3 commits)")[![keyermann](https://avatars.githubusercontent.com/u/1217483?v=4)](https://github.com/keyermann "keyermann (3 commits)")[![restotelry](https://avatars.githubusercontent.com/u/14915052?v=4)](https://github.com/restotelry "restotelry (2 commits)")[![toby-griffiths](https://avatars.githubusercontent.com/u/4817007?v=4)](https://github.com/toby-griffiths "toby-griffiths (2 commits)")[![maxhelias](https://avatars.githubusercontent.com/u/12966574?v=4)](https://github.com/maxhelias "maxhelias (2 commits)")[![meyerbaptiste](https://avatars.githubusercontent.com/u/4034907?v=4)](https://github.com/meyerbaptiste "meyerbaptiste (2 commits)")[![aureluster](https://avatars.githubusercontent.com/u/4458122?v=4)](https://github.com/aureluster "aureluster (2 commits)")

---

Tags

api-platformdoctrinegeneratorhacktoberfestjson-ldmicrodataphpphp-modelschemaschema-orgsemanticsymfonyvocabularyweb-ontology-languagesymfonyenumdoctrinemodelentitysemanticRDFowlschema.org

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/dunglas-php-schema/health.svg)

```
[![Health](https://phpackages.com/badges/dunglas-php-schema/health.svg)](https://phpackages.com/packages/dunglas-php-schema)
```

###  Alternatives

[api-platform/schema-generator

Various tools to generate a data model based on Schema.org vocables

4714.2M7](/packages/api-platform-schema-generator)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)

PHPackages © 2026

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