fourcoders/generatecrud-bundle

为 Symfony2 定制的具有分页、排序和筛选功能的 CRUD

安装: 76

依赖项: 1

建议者: 0

安全性: 0

星标: 3

关注者: 4

分支: 0

开放问题: 0

语言:HTML

类型:symfony-bundle

dev-master 2015-07-08 13:29 UTC

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 以配置它。