florianbelhomme/flob-foundation-demo-bundle

此包已被放弃,不再维护。未建议替代包。

提供florianbelhomme/foundation-bundle包功能的“厨房水槽”(示例)。

安装: 196

依赖者: 0

建议者: 1

安全: 0

星标: 0

关注者: 1

分支: 0

类型:symfony-bundle

2.0.1 2015-08-12 11:42 UTC

This package is not auto-updated.

Last update: 2020-08-21 19:01:49 UTC


README

作者:Florian Belhomme

展示FlobFoundationBundle的可能性。[查看更多信息和问题](https://github.com/florianbelhomme/FlobFoundationBundle)

使用方法

composer.json:

{
    ...
    "require": {
        ...
        "florianbelhomme/flob-foundation-demo-bundle" : "~2.0.0"
        ...
    }
    ...
}

app/AppKernel.php:

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = [
            ...
            new Knp\Bundle\MenuBundle\KnpMenuBundle(),
            new Knp\Bundle\PaginatorBundle\KnpPaginatorBundle(),
            
            new WhiteOctober\PagerfantaBundle\WhiteOctoberPagerfantaBundle(),
            
            new Flob\Bundle\FoundationBundle\FlobFoundationBundle(),
            new Flob\Bundle\FoundationDemoBundle\FlobFoundationDemoBundle(),
            ...
        ];
    }
}

app/config/routing.yml

demo:
    resource: "@FlobFoundationDemoBundle/Resources/config/routing.yml"
    prefix:   /

然后进入/

许可证