glavweb / content-bundle
There is no license information available for the latest version (v0.3.3) of this package.
Symfony GlavwebContentBundle.
v0.3.3
2018-04-20 12:47 UTC
Requires
- php: ^7.1.3
- doctrine/doctrine-bundle: ^1.5
- doctrine/orm: ^2.3
- egeloen/ckeditor-bundle: ^6.0
- glavweb/cms-core-bundle: ^0.2
- sonata-project/admin-bundle: ^3.1
- sonata-project/block-bundle: ^3.2
- symfony/form: ^2.7|^3.0|^4.0
- symfony/framework-bundle: ^2.7|^3.0|^4.0
README
Get the bundle using composer
Add GlavwebContentBundle by running this command from the terminal at the root of your Symfony project:
php composer.phar require glavweb/content-bundle
Enable 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 Glavweb\ContentBundle\GlavwebContentBundle(), // ... ); }
Configure the bundle
This bundle was designed to just work out of the box. The only thing you have to enable the dynamic routes, add the following to your routing configuration file.
# app/config/routing.yml glavweb_content_block: resource: "@GlavwebContentBundle/Resources/config/routing.yml"