nascom / framework-bundle
Nascom项目的默认配置。
1.0.2
2018-02-01 15:00 UTC
Requires
- php: >=5.6
- chrisguitarguy/tactician-symfony-events: ^1.0
- league/tactician-bundle: ~1.0
- league/tactician-doctrine: ^1.1
- league/tactician-logger: ^0.10.0
- symfony/symfony: ~3.0
This package is auto-updated.
Last update: 2024-08-29 04:37:13 UTC
README
Symfony2 Bundle为Nascom项目提供默认配置。详情请见https://github.com/Nascom/NascomFrameworkBundle
安装步骤
第一步:下载Bundle
打开命令行,进入您的项目目录,执行以下命令下载此Bundle的最新稳定版
$ composer require nascom/framework-bundle
此命令需要您全局安装Composer,详情请参阅Composer文档中的安装章节。
第二步:启用Bundle
然后,通过将其添加到项目app/AppKernel.php
文件中注册的Bundle列表中启用Bundle
<?php class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... new League\Tactician\Bundle\TacticianBundle(), new Nascom\FrameworkBundle\NascomFrameworkBundle(), ); // ... } // ... }
注意,目前TacticianBundle是一个硬依赖,所以请确保它也被包含在内...
许可证
MIT许可证(MIT)。有关更多信息,请参阅许可证文件。