The bundle provides a Data Grid Tables integration for your Symfony Project. It automatically registers the new DataGridFactory and Twig GridExtension which can be easily as well as highly configured.
- Display a Data Grid from a
Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository
- Automatic filter(with bundle js included)
- Automatic Sorting on columns
- Easy to configure
- Easy to extend
- Documented (in Resources/doc)
- Change of DataGrid presentation with override default twig template or just configure css classes on each column/filter.
- PHP 7.1+
- Symfony 4+
- Twig 2+
Via bash:
$ composer require pfilsx/data-grid-bundle
Via composer.json:
You need to add the following lines in your deps :
{
"require": {
"pfilsx/data-grid-bundle": ">=2.0"
}
}
For non symfony-flex apps dont forget to add bundle:
$bundles = array(
...
new Pfilsx\DataGrid\DataGridBundle(),
);
Please, read the docs.
This bundle is released under the MIT license.
If you'd like to contribute, feel free to propose a pull request! Or just contact me :)