rik / dynamictemplatesbundle

此包已被弃用且不再维护。未建议替代包。

Symfony路由的动态模板

安装: 14

依赖者: 0

建议者: 0

安全: 0

星标: 0

关注者: 1

分支: 0

开放问题: 0

类型:symfony-bundle

dev-master / 1.1.x-dev 2017-02-25 14:37 UTC

This package is not auto-updated.

Last update: 2023-07-08 19:20:32 UTC


README

步骤 1: 下载包

打开命令行控制台,进入您的项目目录并执行以下命令以下载此包的最新稳定版本

$  composer require "rik/dynamictemplatesbundle":"1.1.x-dev"

此命令需要您全局安装了Composer,如Composer文档的安装章节中所述。

步骤 2: 启用包

然后,通过将其添加到项目中的app/AppKernel.php文件中注册的包列表中启用该包

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new Rik\DynamicTemplatesBundle\RikDynamicTemplatesBundle(),
        );

        // ...
    }

    // ...
}