m4nu / multi-domain-bundle
Adds multi-domain capabilities to Symfony Cmf RoutingBundle
Installs: 17 413
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 3
Forks: 3
Open Issues: 2
Requires
- php: >=5.3.3
- symfony-cmf/routing-bundle: ~1.2|~2.0
- symfony/framework-bundle: ~2.3|~3.0|~4.0
Requires (Dev)
This package is auto-updated.
Last update: 2025-02-12 15:41:58 UTC
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
require
section 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