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