PHPackages                             weprovide/symfony-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. [Admin Panels](/categories/admin)
4. /
5. weprovide/symfony-config-bundle

AbandonedArchivedSymfony-bundle[Admin Panels](/categories/admin)

weprovide/symfony-config-bundle
===============================

The We Provide Config Bundle for Symfony adds an interface into the Sonata/AdminBundle in which you can configure application parameters.

0.1.0(7y ago)0102MITPHP

Since Aug 31Pushed 7y ago11 watchersCompare

[ Source](https://github.com/weprovide/symfony-config-bundle)[ Packagist](https://packagist.org/packages/weprovide/symfony-config-bundle)[ RSS](/packages/weprovide-symfony-config-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

We Provide Config Bundle
========================

[](#we-provide-config-bundle)

The We Provide Config Bundle for Symfony adds an interface into the Sonata/AdminBundle in which you can configure application parameters.

Your Symfony application has a dozen of config values and parameters set in your `app/config` folder, spread in different (or one) `yml` files. If you need to be able to change the value of these configs at runtime without manually editing these files you can use We Provide's Config Bundle.

Let's for example say that you want to enable or disable a maintenance mode. You can do this now without having to log into your server, change the yml file and clear the cache, simply by changing the value with We Provide's Config Bundle.

[![ConfigBundle interface](README-Screenshot-1.png)](README-Screenshot-1.png)

In the image shown above you'll see a couple of parameters configured with the interface. This will output a `parameters.yml` which looks like below.

```
parameters:
    boolean.param: true
    integer.param: 13
    string.param: 'This a test string value'
    choice.param: choice-2
```

You can use these parameters like you normally would in your Symfony application. Either in a controller with

```
$this->getParameter('boolean.param');

```

or even in other parameters or config values with

```
swiftmailer:
    delivery_addresses: '%string.param%'
```

Dependencies
------------

[](#dependencies)

This bundle is developed with a Symfony Standard Edition on PHP 7.1 using We Provide's Valet+. Obviously it has dependencies to other projects and/or bundles. Below a list of dependencies, please use the installation guides of these bundles first.

- [Symfony Standard Edition 3.3](https://symfony.com/doc/current/setup.html#creating-symfony-applications-with-composer)
- [Sonata Admin Bundle 3.23](https://sonata-project.org/bundles/admin/3-x/doc/getting_started/installation.html) (with [SonataDoctrineORMAdminBundle](https://sonata-project.org/bundles/doctrine-orm-admin/master/doc/reference/installation.html))

Installation
------------

[](#installation)

Install this bundle into your project using Composer.

```
composer require weprovide/symfony-config-bundle

```

Enable the bundle by inserting it in your Symfony's `AppKernel.php`.

```
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new WeProvide\ConfigBundle\WeProvideConfigBundle(),
        );

        // ...
    }

    // ...
}
```

Include the `config.yml` and `parameters.yml` into your own under the section `imports`. You can choose in which order you include these files, depending on where you want to use the parameters.

```
imports:
    # ...
    - { resource: "@WeProvideConfigBundle/Resources/config/config.yml" }
    - { resource: "@WeProvideConfigBundle/Resources/config/parameters.yml", ignore_errors: true }
```

Update your database schema with the doctrine command.

```
bin/console doctrine:schema:update --force

```

License
-------

[](#license)

This bundle has been released under the MIT license and open for improvements, please share your thoughts which will be much appreciated.

Authors
-------

[](#authors)

- Mischa Braam ([@mischabraam](https://github.com/mischabraam))

TODO's
------

[](#todos)

- Add event listeners where the client application can hook onto.
- Add list type to be able to config an yml array.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2811d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/80809e7caf8341b1bac3d759e2b159a38b9bdab2deee5b0d4d66de6c83b992d1?d=identicon)[IntractoSupport](/maintainers/IntractoSupport)

![](https://www.gravatar.com/avatar/9e723dd83f374215e85b05fa260826f267bcef0dfb1026246ca1d845ae4f3a39?d=identicon)[JeroenNoten](/maintainers/JeroenNoten)

![](https://www.gravatar.com/avatar/6f1ed5a230a1b7a889ad5bb727fc43f070e2d57ad9f857625226096cbfcc80c7?d=identicon)[aadmathijssen](/maintainers/aadmathijssen)

![](https://www.gravatar.com/avatar/5270be3fd791a1045f0d928c0ca5d801d2c9dac77b83338a8ac877b94c6f7934?d=identicon)[mischabraam](/maintainers/mischabraam)

---

Tags

Settingsconfigsonataweprovide

### Embed Badge

![Health badge](/badges/weprovide-symfony-config-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/weprovide-symfony-config-bundle/health.svg)](https://phpackages.com/packages/weprovide-symfony-config-bundle)
```

###  Alternatives

[sonata-project/admin-bundle

The missing Symfony Admin Generator

2.1k19.0M299](/packages/sonata-project-admin-bundle)[redchamps/module-clean-admin-menu

It will merge all third party extensions menu items to single menu item named 'Extensions'.

164416.3k](/packages/redchamps-module-clean-admin-menu)[optimistdigital/nova-settings

A Laravel Nova tool for editing custom settings using native Nova fields.

297874.5k3](/packages/optimistdigital-nova-settings)[pixassociates/sortable-behavior-bundle

Provides a way to sort your admin listing

471.5M5](/packages/pixassociates-sortable-behavior-bundle)[yokai/sonata-workflow

Integrate Symfony workflow component in Sonata Admin

23372.9k](/packages/yokai-sonata-workflow)[runroom-packages/sortable-behavior-bundle

Provides a way to sort your admin listing

111.3M1](/packages/runroom-packages-sortable-behavior-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
