dreadlabs / kunstmaan-config-bundle
Opinionated configuration for your Kunstmaan CMS instance.
Installs: 58
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- kunstmaan/bundles-cms: ~3.6.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ~1.12.1
- matthiasnoback/symfony-config-test: ~2.0.0
- pdepend/pdepend: ~2.2.4
- phploc/phploc: ~3.0.1
- phpmd/phpmd: ~2.4.3
- phpunit/phpunit: ~4.4
- sebastian/phpcpd: ~2.0.4
- squizlabs/php_codesniffer: ~2.7.0
This package is not auto-updated.
Last update: 2020-01-24 16:24:14 UTC
README
Provide streamlined configuration for a Kunstmaan CMS application.
What does it do?
-
Compiler passes
kunstmaan_media.filesystem_adapter
- Allow re-configuration of the path according to the integratedLiipImagineBundle
Installation
composer require dreadlabs/kunstmaan-config-bundle:*
How to activate?
Add the bundle to your AppKernel
:
// ...
new DreadLabs\KunstmaanConfigBundle\DreadLabsKunstmaanConfigBundle(),
// ...
Add the following configuration keys to your parameters.yml.dist
:
liipimagine_webroot: '%kernel.root_dir%/../web'
Configure the default resolver in the liip_imagine
configuration in app/config/config.yml
:
liip_imagine:
resolvers:
default:
web_path:
web_root: '%liipimagine_webroot%'
Add the loaders
section to the liip_imagine
configuration section in app/config/config.yml
:
liip_imagine:
// ...
loaders:
default:
filesystem:
data_root: '%liipimagine_webroot%'