pe/symfony-bundle-grid

pe/component-grid的Symfony集成

安装: 8

依赖: 0

建议: 0

安全: 0

星标: 0

关注者: 2

分支: 0

开放问题: 0

类型:symfony-bundle

dev-master / 1.0.x-dev 2018-09-08 05:11 UTC

This package is auto-updated.

Last update: 2024-09-08 19:31:42 UTC


README

此扩展包与pe/component-grid集成。

安装

通过运行以下命令使用Composer安装库:

composer require pe/symfony-bundle-grid

然后在您的内核中启用扩展包

<?php
// app/AppKernel.php
class AppKernel
{
    public function registerBundles()
    {
        $bundles = [
            // ...
            new PE\Bundle\GridBundle\PEGridBundle(),
            // ...
        ];
    }
}

或者对于Symfony 4.0

<?php
// SF 4.0 config/bundles.php

return [
    PE\Bundle\GridBundle\PEGridBundle::class => ['all' => true],
];