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