pfilsx/data-grid-bundle
Composer 安装命令:
composer require pfilsx/data-grid-bundle
包简介
Provides a Data Grid tables for your Symfony project.
README 文档
README
Introduction
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.
Features
- 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.
Requirement
- PHP 7.1+
- Symfony 4+
- Twig 2+
Installation
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(), );
Documentation
Please, read the docs.
License
This bundle is released under the MIT license.
Contribute
If you'd like to contribute, feel free to propose a pull request! Or just contact me :)
统计信息
- 总下载量: 798
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-03-22