Download the PHP package itk-dev/config-bundle without Composer
On this page you can find all versions of the php package itk-dev/config-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download itk-dev/config-bundle
More information about itk-dev/config-bundle
Files in itk-dev/config-bundle
Package config-bundle
Short Description A Symfony bundle to handle app config
License MIT
Informations about the package config-bundle
Settings
Installation
Enable the bundle in app/AppKernel.php
:
In app/config/config.yml
:
Depending on your doctrine setup, you may have to add ItkDevConfigBundle
to your doctrine mappings, e.g.:
If using Doctrine
migrations, you
should filter out the craue_config_setting
table from
migrations:
Usage
Create settings in the database (preferably using a migration):
Easy admin:
See Resources/config/easy_admin.yml for an example Easy Admin configuration for Settings.
Twig:
See https://github.com/craue/CraueConfigBundle/#usage-in-twig-templates
Rich text
To use the form type ckeditor
, you have to enable
IvoryCKEditorBundle
(which is already installed).
Follow steps 2–4 on https://symfony.com/doc/master/bundles/EasyAdminBundle/integration/ivoryckeditorbundle.html#installing-the-rich-text-editor to enable the bundle.
All versions of config-bundle with dependencies
doctrine/dbal Version ^2.5
easycorp/easyadmin-bundle Version ^2.0
craue/config-bundle Version ~2.2
friendsofsymfony/ckeditor-bundle Version ^2.0