m4nu/multi-domain-bundle
Composer 安装命令:
composer require m4nu/multi-domain-bundle
包简介
Adds multi-domain capabilities to Symfony Cmf RoutingBundle
README 文档
README
This bundle is licensed under the MIT License.
The MultiDomainBundle provides multi-domain capabilities to Symfony Cmf RoutingBundle.
Requirements
- Symfony ~2.3
- SymfonyCmfRoutingBundle ~1.2
- See also the
requiresection of composer.json
Installation
Get the bundle
Add the following lines in your composer.json:
{
"require": {
// ...
"m4nu/multi-domain-bundle": "dev-master",
}
}
Initialize the bundle
To start using the bundle, register the bundle in your application's kernel class:
// app/AppKernel.php public function registerBundles() { $bundles = array( // ... new M4nu\MultiDomainBundle\M4nuMultiDomainBundle(), ); )
Configuration
# app/config/config.yml m4nu_multi_domain: domains: en: www.example.org fr: fr.example.org persistence: phpcr: enabled: true
统计信息
- 总下载量: 17.41k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-08-29