vincet/admin-configuration-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

Symfony VinceTAdminConfigurationBundle

dev-master / 2.2.x-dev 2013-09-15 13:42 UTC

This package is auto-updated.

Last update: 2023-07-27 08:49:03 UTC


README

This bundle add an admin interface to manage custom configuration values that can be used in your frontend application.

A configuration value is store in a group and a group rely to a section. It's easy to get a configuration value by its path :

section_name:group_name:value_name

To retrieve a value from a controller:

$this->container->get('admin.configuration.manager')->get('section_name:group_name:value_name');

To retrieve a value from a twig template:

{{ admin_configuration_get('section_name:group_name:value_name') }}

See how to install and use this bundle.