PHPackages                             c975l/config-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. c975l/config-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

c975l/config-bundle
===================

Used to get/set the config params for a Symfony app

v4.5.1(6mo ago)259217MITPHPPHP &gt;=8.0CI failing

Since Aug 26Pushed 6mo ago2 watchersCompare

[ Source](https://github.com/975L/ConfigBundle)[ Packagist](https://packagist.org/packages/c975l/config-bundle)[ Docs](https://github.com/975L/ConfigBundle)[ Fund](https://buymeacoff.ee/laurentmarquet)[ Fund](https://opencollective.com/laurent-marquet)[ RSS](/packages/c975l-config-bundle/feed)WikiDiscussions main Synced 2mo ago

READMEChangelogDependencies (3)Versions (63)Used By (17)

ConfigBundle
============

[](#configbundle)

Please not that **this Bundle &gt;= v2.0 doesn't use the `Configuration` class to build the modify form for parameters, but its own defined system of key-value. See branch 1.x for the use case with `Configuration` class.**

ConfigBundle does the following:

- Gets the config parameters definition from a yaml file for a Symfony app,
- Build a form to allow end-user to modify these parameters (acces-rights are checked on your side),
- Provides a Twig extension to get these parameters values in a Twig template,

[ConfigBundle API documentation](https://975l.com/apidoc/c975L/ConfigBundle.html).

Bundle installation
-------------------

[](#bundle-installation)

### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Use [Composer](https://getcomposer.org) to install the library

```
    composer require c975l/config-bundle
```

### Step 2: Enable the Bundles

[](#step-2-enable-the-bundles)

Then, enable the bundle by adding it to the list of registered bundles in the `app/AppKernel.php` file of your project:

```
