PHPackages                             itk-dev/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. itk-dev/config-bundle

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

itk-dev/config-bundle
=====================

A Symfony bundle to handle app config

3.0.0(7y ago)0543[1 PRs](https://github.com/itk-dev/config-bundle/pulls)MITPHP

Since Feb 18Pushed 2y ago3 watchersCompare

[ Source](https://github.com/itk-dev/config-bundle)[ Packagist](https://packagist.org/packages/itk-dev/config-bundle)[ RSS](/packages/itk-dev-config-bundle/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (7)Versions (13)Used By (0)

Settings
========

[](#settings)

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

[](#installation)

```
composer require itk-dev/settings-bundle "^1.0"
```

Enable the bundle in `app/AppKernel.php`:

```
public function registerBundles() {
	$bundles = [
		// …
        // Start of required dependencies of ItkDevConfigBundle
        new Craue\ConfigBundle\CraueConfigBundle(),
        new EasyCorp\Bundle\EasyAdminBundle\EasyAdminBundle(),
        // End of required dependencies for ItkDevConfigBundle
        new ItkDev\ConfigBundle\ItkDevConfigBundle(),
	];
    // …
}
```

In `app/config/config.yml`:

```
craue_config:
    entity_name: ItkDev\ConfigBundle\Entity\Setting

# Optionally, enable caching for craue/config-bundle (cf. https://github.com/craue/CraueConfigBundle/#enable-caching-optional)
services:
  craue_config_cache_provider:
    class: Symfony\Component\Cache\Adapter\FilesystemAdapter
    public: false
    arguments:
      - 'craue_config'
      - 0
      - '%kernel.cache_dir%'
```

Depending on your doctrine setup, you may have to add `ItkDevConfigBundle` to your doctrine mappings, e.g.:

```
doctrine:
    orm:
        entity_managers:
            default:
                mappings:
                    …
                    ItkDevConfigBundle: ~
```

If using [Doctrine migrations](https://github.com/doctrine/DoctrineMigrationsBundle), you should [filter out the `craue_config_setting` table from migrations](https://symfony.com/doc/current/bundles/DoctrineMigrationsBundle/index.html#manual-tables):

```
doctrine:
    dbal:
        [...]
        schema_filter: ~^(?!craue_config_setting)~
```

Usage
-----

[](#usage)

Create settings in the database (preferably using a migration):

```
insert into
    itkdev_setting(section, name, type, form_type, value_string)
values
    ('cms', 'about_header', 'string', 'text', 'About this application');

insert into
    itkdev_setting(section, name, type, form_type, value_text)
values
    ('cms', 'about, 'text', 'text', 'This application handles configuration on the database.);
```

Easy admin:

See [Resources/config/easy\_admin.yml](Resources/config/easy_admin.yml) for an example Easy Admin configuration for Settings.

Twig:

See

Rich text
---------

[](#rich-text)

To use the form type `ckeditor`, you have to enable [IvoryCKEditorBundle](http://symfony.com/doc/master/bundles/IvoryCKEditorBundle/index.html)(which is already installed).

Follow steps 2–4 on to enable the bundle.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Every ~240 days

Recently: every ~459 days

Total

10

Last Release

847d ago

Major Versions

1.1.2 → 2.0.02018-11-21

2.x-dev → 3.0.02019-01-10

3.x-dev → 4.x-dev2024-01-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d838759fdace714b1c00ca64212935cb06568a6d641169301aa2ed05eed16f9?d=identicon)[rimi-itk](/maintainers/rimi-itk)

---

Top Contributors

[![rimi-itk](https://avatars.githubusercontent.com/u/11267554?v=4)](https://github.com/rimi-itk "rimi-itk (4 commits)")

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/itk-dev-config-bundle/health.svg)

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

###  Alternatives

[wallabag/wallabag

open source self hostable read-it-later web application

12.6k2.2k](/packages/wallabag-wallabag)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1714.8k8](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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