integrated / theme-bundle
Provides website theme support, which makes it easy to share themes between websites or use a multi-site in your application
Installs: 2 994
Dependents: 3
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 1
Type:symfony-bundle
Requires
- php: >=5.4
- symfony/symfony: ~2.8 || ~3.0
Requires (Dev)
- phpunit/phpunit: ^5.7
- squizlabs/php_codesniffer: ^2.8
This package is not auto-updated.
Last update: 2024-10-26 18:06:39 UTC
README
Provides website theme support, which makes it easy to share themes between websites or use a multi-site in your application
Requirements
- See the require section in the composer.json
Features
- Theme support
Documentation
Installation
This bundle can be installed following these steps:
Install using composer
$ php composer.phar require integrated/theme-bundle:~0.3
Enable the bundle
// app/AppKernel.php
public function registerBundles()
{
return array(
// ...
new Integrated\Bundle\ThemeBundle\IntegratedThemeBundle()
// ...
);
}
Configuration
# app/config/config.yml
integrated_theme:
themes:
mytheme1:
paths:
- @AppBundle/Resources/views/themes/mytheme1
fallback:
- default
mytheme2:
paths:
- @AppBundle/Resources/views/themes/mytheme2
- @OtherBundle/Resources/views/themes/mytheme2
fallback:
- mytheme1
- mytheme3
License
This bundle is under the MIT license. See the complete license in the bundle:
LICENSE
Contributing
Pull requests are welcome. Please see our CONTRIBUTING guide.
About
This bundle is part of the Integrated project. You can read more about this project on the Integrated for developers website.