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

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

apy/datagrid-bundle
===================

Symfony Datagrid Bundle

7.0.0(1y ago)502998.7k↓21%341[36 issues](https://github.com/APY/APYDataGridBundle/issues)[10 PRs](https://github.com/APY/APYDataGridBundle/pulls)9MITPHPPHP ^7.4 || ^8.0CI passing

Since Jun 9Pushed 1y ago42 watchersCompare

[ Source](https://github.com/APY/APYDataGridBundle)[ Packagist](https://packagist.org/packages/apy/datagrid-bundle)[ Docs](https://github.com/apy/APYDataGridBundle)[ RSS](/packages/apy-datagrid-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (22)Versions (30)Used By (9)

APYDataGrid Bundle
==================

[](#apydatagrid-bundle)

This **Symfony Bundle** allows you to create wonderful grid based on data or entities of your projet.

[![Build Status](https://camo.githubusercontent.com/9d114ecc5d8f7972e056bfd4a3dfc7a2e970c38bd22cd03b3dd715f9195d8485/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f4150592f415059446174614772696442756e646c652e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/APY/APYDataGridBundle) [![Coverage Status](https://camo.githubusercontent.com/b821033e64fa961b1743340298d93a5a35e2f1b41a95b1e16e2d480f3a9933c0/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f4150592f415059446174614772696442756e646c652f62616467652e7376673f6272616e63683d746573742d696d70726f76656d656e74)](https://coveralls.io/github/APY/APYDataGridBundle?branch=test-improvement)

Features
--------

[](#features)

This bundle allow you to create listing with many features that you can expect :

- Various data sources : supports **Entity** (ORM), **Document** (ODM) and **Vector** (Array) sources
- Data manipulation : **Sortable** and **Filterable** with many operators
- Auto-typing columns (Text, Number, Boolean, Array, DateTime, Date, ...)
- Locale support for columns and data (DateTime, Date and Number columns)
- Input, Select, checkbox and radio button filters filled with the data of the grid or an array of values
- Export (CSV, Excel, *PDF*, XML, JSON, HTML, ...)
- Mass actions, Row actions
- Supports mapped fields with Entity source
- Securing the columns, actions and export with security roles
- Annotations and PHP configuration
- External filters box
- Ajax loading
- Pagination (You can also use Pagerfanta)
- Grid manager for multi-grid on the same page
- Groups configuration for ORM and ODM sources
- Easy templates overriding (Twig)
- Custom columns and filters creation
- *and many more*

Installation, documentation
---------------------------

[](#installation-documentation)

See the [summary](https://github.com/APY/APYDataGridBundle/blob/master/Resources/doc/summary.md).

Screenshot
----------

[](#screenshot)

Full example with this [CSS style file](https://github.com/APY/APYDataGridBundle/blob/master/Resources/doc/grid_configuration/working_example.css):

[![test](https://github.com/APY/APYDataGridBundle/raw/master/Resources/doc/images/screenshot_full.png?raw=true)](https://github.com/APY/APYDataGridBundle/blob/master/Resources/doc/images/screenshot_full.png?raw=true)

Simple example with the external filter box in english:

[![test](https://github.com/APY/APYDataGridBundle/raw/master/Resources/doc/images/screenshot_en.png)](https://github.com/APY/APYDataGridBundle/blob/master/Resources/doc/images/screenshot_en.png)

Same example in french:

[![test](https://github.com/APY/APYDataGridBundle/raw/master/Resources/doc/images/screenshot_fr.png?raw=true)](https://github.com/APY/APYDataGridBundle/blob/master/Resources/doc/images/screenshot_fr.png?raw=true)

Example of a simple grid with an ORM source
-------------------------------------------

[](#example-of-a-simple-grid-with-an-orm-source)

```
