rosa / proy-bundle
本包的最新版本(dev-master)没有提供许可证信息。
Symfony2的一个简单额外包
dev-master
2016-09-13 21:49 UTC
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2024-09-23 13:07:03 UTC
README
步骤 1:下载Bundle
打开命令行控制台,进入您的项目目录,然后执行以下命令以下载此Bundle的最新稳定版本
$ composer require "tony/extra-bundle":"dev-master"
此命令要求您全局安装了Composer,具体请参阅Composer文档中的安装章节。
步骤 2:启用Bundle
然后,通过将其添加到项目app/AppKernel.php
文件中注册的Bundle列表来启用此Bundle
<?php // app/AppKernel.php // ... class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... new tony\ProyBundle\tonyProyBundle(), ); // ... } // ... }