rik / dynamictemplatesbundle
此包已被弃用且不再维护。未建议替代包。
Symfony路由的动态模板
dev-master / 1.1.x-dev
2017-02-25 14:37 UTC
Requires
- php: >=5.4
- symfony/framework-bundle: 2.*|3.*
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(), ); // ... } // ... }