web-ant/webant-corebundle
最新稳定版本:v1.3.2
Composer 安装命令:
composer require web-ant/webant-corebundle
包简介
Core systems in WebAnt
README 文档
README
Core systems in WebAnt
Installation
Step 1: Install WebAntCoreBundle
The preferred way to install this bundle is to rely on Composer. Just add in your composer.json:
{ "require": { // ... "web-ant/webant-corebundle": "dev-master" } }
Step 2: Enable the bundle
Finally, enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new WebAnt\CoreBundle\CoreBundle(), ); }
Step 3: Our classes inherit from AbstractController
Now you must to connect AbstractController and inherit the classes from it, example:
<?php // RootDir/src/DemoBundle/Controller/DemoController.php; namespace /src/DemoBundle/Controller; use WebAnt\CoreBundle\Controller\AbstractController; class DemoController extends AbstractController { ... }
统计信息
- 总下载量: 150
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-09-23