brazilianfriendsofsymfony / settings-management-bundle
Symfony BFOSSettingsManagementBundle
Installs: 395
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 2
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.2
This package is not auto-updated.
Last update: 2024-12-21 14:02:20 UTC
README
Symfony2 bundle to easily manage your application settings.
Requirements
- jQuery
- RequireJS
- ckEditor
Installing
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"
Configuration
bfos_settings_management:
security:
admin_role: ROLE_ADMIN
super_admin_role: ROLE_SUPER_ADMIN