PHPackages                             tomphp/config-service-provider - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. tomphp/config-service-provider

Abandoned → [tomphp/container-configurator](/?search=tomphp%2Fcontainer-configurator)Library[PSR &amp; Standards](/categories/psr-standards)

tomphp/config-service-provider
==============================

Configure your application and the Dependency Injection Container (DIC) via config arrays or config files.

v1.0.0(9y ago)209.1k4[3 issues](https://github.com/tomphp/container-configurator/issues)MITPHPPHP ^5.6|^7.0

Since Mar 11Pushed 8mo ago3 watchersCompare

[ Source](https://github.com/tomphp/container-configurator)[ Packagist](https://packagist.org/packages/tomphp/config-service-provider)[ Docs](https://github.com/tomphp/config-service-provider)[ RSS](/packages/tomphp-config-service-provider/feed)WikiDiscussions master Synced 1mo ago

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

Container Configurator
======================

[](#container-configurator)

[![Build Status](https://camo.githubusercontent.com/ad49a039b7f8cc7d4b4b6d9c9efe79a7c0c6003dafae433f40be7f198874684c/68747470733a2f2f6170692e7472617669732d63692e6f72672f746f6d7068702f636f6e7461696e65722d636f6e666967757261746f722e737667)](https://api.travis-ci.org/tomphp/container-configurator)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/401256119406feb604245a99ba855feb145edaec811a24c2b42273790dbe668f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f746f6d7068702f636f6e7461696e65722d636f6e666967757261746f722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/tomphp/container-configurator/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/199b4633f62bd7c62f7989f5571854353e88527cdecca61ee1b9014047797285/68747470733a2f2f706f7365722e707567782e6f72672f746f6d7068702f636f6e7461696e65722d636f6e666967757261746f722f762f737461626c65)](https://packagist.org/packages/tomphp/container-configurator)[![Total Downloads](https://camo.githubusercontent.com/2c1c5334aa246a97ea2d4ad828ac20dd719f2a51dfd82af471c9ead7eaac3573/68747470733a2f2f706f7365722e707567782e6f72672f746f6d7068702f636f6e7461696e65722d636f6e666967757261746f722f646f776e6c6f616473)](https://packagist.org/packages/tomphp/container-configurator)[![Latest Unstable Version](https://camo.githubusercontent.com/e573560db7ad089b18b5b4e8ef431b57a3b7607bb64ca53d805363db71a7bea8/68747470733a2f2f706f7365722e707567782e6f72672f746f6d7068702f636f6e7461696e65722d636f6e666967757261746f722f762f756e737461626c65)](https://packagist.org/packages/tomphp/container-configurator)[![License](https://camo.githubusercontent.com/57219fe57f539774fa4227ce87342b78884212755234a953e9cf016f6ca0ff14/68747470733a2f2f706f7365722e707567782e6f72672f746f6d7068702f636f6e7461696e65722d636f6e666967757261746f722f6c6963656e7365)](https://packagist.org/packages/tomphp/container-configurator)

This package enables you to configure your application and the Dependency Injection Container (DIC) via config arrays or files. Currently, supported containers are:

- [League Of Extraordinary Packages' Container](https://github.com/thephpleague/container)
- [Pimple](http://pimple.sensiolabs.org/)

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

[](#installation)

Installation can be done easily using composer:

```
$ composer require tomphp/container-configurator

```

Example Usage
-------------

[](#example-usage)

```
