PHPackages                             2lenet/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. 2lenet/config-bundle

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

2lenet/config-bundle
====================

Config Bundle

1.4.5(8mo ago)110.0k↓33.3%MITPHPCI passing

Since Dec 20Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/2lenet/ConfigBundle)[ Packagist](https://packagist.org/packages/2lenet/config-bundle)[ Docs](https://www.2le.net)[ RSS](/packages/2lenet-config-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (15)Versions (39)Used By (0)

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

[](#configbundle)

[![Validate](https://github.com/2lenet/ConfigBundle/actions/workflows/validate.yml/badge.svg)](https://github.com/2lenet/ConfigBundle/actions/workflows/validate.yml)[![.github/workflows/test.yml](https://github.com/2lenet/ConfigBundle/actions/workflows/test.yml/badge.svg)](https://github.com/2lenet/ConfigBundle/actions/workflows/test.yml)[![SymfonyInsight](https://camo.githubusercontent.com/e7c86dc9990f0c802411371a3d9684ff55da6f02da3e17c94273aa4597809b2f/68747470733a2f2f696e73696768742e73796d666f6e792e636f6d2f70726f6a656374732f37393538336332372d646262352d343631302d616363642d3165653136623932303038642f6d696e692e737667)](https://insight.symfony.com/projects/79583c27-dbb5-4610-accd-1ee16b92008d)

Symfony bundle that gives you an easy configuration for your app. Perfect to use with the famous CRUD [Crudit](https://github.com/2lenet/CruditBundle)

- [Installation](#Installation)
- [Customization](#Customization)
- [Usage](#Usage)
- [Initialise new configurations (Warm-up)](#initialise-new-configurations-warm-up)

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

[](#installation)

The bundle is not yet on packagist make sure to add the following to your `composer.json` file:

```
{
    "url": "https://github.com/2lenet/ConfigBundle",
    "type": "git"
}
```

Install with composer:

```
composer require 2lenet/config-bundle
```

The bundle is flexible and built to suit your project it is shiped only with trait to use in your own config entity.

You will also get a Symfony Repository ready to use.

Create in your entity directory the class `Config` it has to implements the ConfigInterface if no customization is needed you can use:

```
