Symfony2 bundle to easily manage your application settings.
- jQuery
- RequireJS
- ckEditor
Install from composer for symfony 2.1
Add BFOSSettingsManagementBundle in your composer.json:
{
"require": {
"brazilianfriendsofsymfony/settings-management-bundle": "dev-master"
}
}
Register BFOSSettingsManagementBundle into your application kernel
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...,
new BFOS\SettingsManagementBundle\BFOSSettingsManagementBundle()
// ...,
);
//..
return $bundles;
}
** Import the routes in app/config/routing.yml **
bfos_settings_management:
resource: "@BFOSSettingsManagementBundle/Resources/config/routing.yml"
bfos_settings_management:
security:
admin_role: ROLE_ADMIN
super_admin_role: ROLE_SUPER_ADMIN