fourcoders / generatecrud-bundle
为 Symfony2 定制的具有分页、排序和筛选功能的 CRUD
dev-master
2015-07-08 13:29 UTC
Requires
- php: >=5.3.2
- knplabs/knp-paginator-bundle: dev-master
- symfony/framework-bundle: >=2.3.0
This package is not auto-updated.
Last update: 2024-09-24 04:38:34 UTC
README
为 Symfony2 定制的具有分页、排序和筛选功能的 CRUD
重要!!!!!!!!!! Symfony >= 2.3.0
在您的 composer.json 中添加
{
"require": {
"fourcoders/generatecrud-bundle": "dev-master"
}
}
在您的 app/AppKernel.php 中添加
<?php
// app/AppKernel.php
public function registerBundles()
{
return array(
// ...
new Fourcoders\Bundle\CrudgenerateBundle\FourcodersCrudgenerateBundle(),
// ...
);
}
使用 KnpPaginatorBundle 进行分页。查看 https://github.com/KnpLabs/KnpPaginatorBundle 以配置它。