Download the PHP package aamant/config-bundle without Composer
On this page you can find all versions of the php package aamant/config-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package config-bundle
README
Install
Install with composer
Modify AppKernel.php
$bundles = [
...
new Aamant\ConfigBundle\AamantConfigBundle(),
...
];
Add routes
aamant_config_config:
prefix: /config
resource: "@AamantConfigBundle/Resources/config/routing.xml"
Use service
$service = $this->getContainer()->get('aamant_config.config');
Use add, get, has, delete
$config->set('version', '0.0.1')
// hidden attribute
$config->set('version', '0.0.1', true)
// get
$config->get('version')
// has
$config->has('version')
// delete
$config->delete('version')
Translate
use domain for translate name of the attribute
Manage attributes values
http://my-app/app_dev.php/config
All versions of config-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6.0
symfony/form Version ^2.8 || ^3.0
symfony/framework-bundle Version ^2.8 || ^3.0
symfony/security-bundle Version ^2.8 || ^3.0
symfony/twig-bundle Version ^2.8 || ^3.0
twig/twig Version ^1.28 || ^2.0
symfony/templating Version ^2.8 || ^3.0
symfony/form Version ^2.8 || ^3.0
symfony/framework-bundle Version ^2.8 || ^3.0
symfony/security-bundle Version ^2.8 || ^3.0
symfony/twig-bundle Version ^2.8 || ^3.0
twig/twig Version ^1.28 || ^2.0
symfony/templating Version ^2.8 || ^3.0
The package aamant/config-bundle contains the following files
Loading the files please wait ....