PHPackages                             glavweb/data-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. glavweb/data-schema-bundle

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

glavweb/data-schema-bundle
==========================

GLAVWEB DataSchemaBundle

v3.0.0(1mo ago)01.0k1PHPPHP &gt;=8.4CI failing

Since Mar 16Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/glavweb/GlavwebDataSchemaBundle)[ Packagist](https://packagist.org/packages/glavweb/data-schema-bundle)[ RSS](/packages/glavweb-data-schema-bundle/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)Dependencies (17)Versions (45)Used By (1)

Installation
============

[](#installation)

### Get the bundle using composer

[](#get-the-bundle-using-composer)

Add GlavwebDataSchemaBundle by running this command from the terminal at the root of your Symfony project:

```
php composer.phar require glavweb/data-schema-bundle
```

### Enable the bundle

[](#enable-the-bundle)

To start using the bundle, register the bundle in your application's kernel class:

```
// app/AppKernel.php
public function registerBundles()
{
    $bundles = array(
        // ...
        new Glavweb\DataSchemaBundle\GlavwebDataSchemaBundle(),
        // ...
    );
}
```

### Configure the bundle

[](#configure-the-bundle)

This bundle was designed to just work out of the box. The only thing you have to configure in order to get this bundle up and running is a mapping.

```
# app/config/packages/glavweb_data_schema.yaml

# Add hydrators to Doctrine
doctrine:
    orm:
        hydrators:
            DatagridHydrator: Glavweb\DataSchemaBundle\Hydrator\Doctrine\DatagridHydrator

glavweb_data_schema:
    default_hydrator_mode: DatagridHydrator
    data_schema:
        dir: "%kernel.project_dir%/data_schemas"

    scope:
        dir: "%kernel.project_dir%/scopes"

```

Basic Usage
===========

[](#basic-usage)

Define data schema:

```
# app/data_schemas/article.schema.yaml

schema:
    class: AppBundle\Entity\Article
    properties:
        id:
        name:
        slug:
        body:

```

Define scope:

```
# app/scopes/article/short.yaml

scope:
    name:

```

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance91

Actively maintained with recent releases

Popularity18

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity93

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 71.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 ~70 days

Recently: every ~95 days

Total

44

Last Release

45d ago

Major Versions

v1.2.2 → v2.0.02021-07-19

v1.5.0 → v2.3.22025-01-23

v1.7.1 → v2.3.32025-06-06

v1.8.0 → v2.7.02026-02-18

v2.7.0 → v3.0.02026-06-23

PHP version history (3 changes)v1.0.0PHP ^7.1.3

v2.0.0PHP &gt;=7.2.5

v3.0.0PHP &gt;=8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/323641293a1149ed44abfdf39f33c2d931f6cf8fda5bf2f269a2c80c3afe9c69?d=identicon)[nilov](/maintainers/nilov)

---

Top Contributors

[![Nitro-N](https://avatars.githubusercontent.com/u/4936491?v=4)](https://github.com/Nitro-N "Nitro-N (25 commits)")[![nilov](https://avatars.githubusercontent.com/u/1862113?v=4)](https://github.com/nilov "nilov (10 commits)")

### Embed Badge

![Health badge](/badges/glavweb-data-schema-bundle/health.svg)

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k18.3M414](/packages/easycorp-easyadmin-bundle)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.9M530](/packages/pimcore-pimcore)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1617.3k14](/packages/2lenet-crudit-bundle)[sulu/sulu

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

1.3k1.4M223](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1301.7M3.0k](/packages/contao-core-bundle)[sylius/sylius

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

8.5k6.0M766](/packages/sylius-sylius)

PHPackages © 2026

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