PHPackages                             glavweb/datagrid-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/datagrid-bundle

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

glavweb/datagrid-bundle
=======================

GLAVWEB DatagridBundle

v3.5.0(4mo ago)114.6k2PHPPHP &gt;=7.2.5

Since Apr 21Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/glavweb/GlavwebDatagridBundle)[ Packagist](https://packagist.org/packages/glavweb/datagrid-bundle)[ RSS](/packages/glavweb-datagrid-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (8)Versions (68)Used By (2)

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

[](#installation)

### Get the bundle using composer

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

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

```
php composer.phar require glavweb/datagrid-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\DatagridBundle\GlavwebDatagridBundle(),
        // ...
    );
}
```

### 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.

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

[](#basic-usage)

Define data schema:

```
# app/config/data_schema/article.schema.yml

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

```

Define scope:

```
# app/config/scopes/article/short.yml

scope:
    name:

```

Usage in a controller:

```
$datagridBuilder = $this->get('glavweb_datagrid.doctrine_datagrid_builder')
    ->setEntityClassName('AppBundle\Entity\Article')
    ->setAlias('t')
    ->setDataSchema('article.schema.yml', 'article/short.yml')
    ->setFirstResult(0)
    ->setMaxResults(2)
    ->setOrderings(['name' => 'ASC'])
;

// Define filters
$datagridBuilder
    ->addFilter('name')
;

$datagrid = $this->datagridBuilder->build(['name' => 'Article 1']);
$list = $datagrid->getList();

```

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance77

Regular maintenance activity

Popularity26

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity73

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

Recently: every ~1 days

Total

67

Last Release

125d ago

Major Versions

v1.10.6 → v2.1.12018-12-02

v2.4.0 → v3.0.02021-07-19

v2.7.1 → v3.3.12025-04-01

v2.7.2 → v3.4.12026-02-15

v2.8.0 → v3.5.02026-02-18

PHP version history (3 changes)1.0PHP &gt;=5.5.9

v1.11.0PHP ^7.1.3

v3.0.0PHP &gt;=7.2.5

### Community

Maintainers

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M373](/packages/easycorp-easyadmin-bundle)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1715.6k12](/packages/2lenet-crudit-bundle)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1155.2k](/packages/rcsofttech-audit-trail-bundle)[sulu/sulu

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

1.3k1.4M196](/packages/sulu-sulu)[open-dxp/opendxp

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

9317.2k55](/packages/open-dxp-opendxp)

PHPackages © 2026

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