PHPackages                             abdeslam/configuration-manager - 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. abdeslam/configuration-manager

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

abdeslam/configuration-manager
==============================

A fast, powerful and flexible PHP, JSON and XML configuration loader

1.0.0(4y ago)112MITPHP

Since Jun 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Abdeslam-Gacemi/ConfigurationManager)[ Packagist](https://packagist.org/packages/abdeslam/configuration-manager)[ RSS](/packages/abdeslam-configuration-manager/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

ConfigurationManager package
============================

[](#configurationmanager-package)

**[ConfigurationManager](https://github.com/Abdeslam-Gacemi/ConfigurationManager.git)** is a simple, powerful and flexible **PHP**, **JSON** and **XML** configuration file loader.

Table of contents
-----------------

[](#table-of-contents)

- [Requirements](#requirements)
- [Installation](#installation)
    - [1. Using Composer](#1-using-composer)
    - [2. Manually](#2-manually)
- [Usage](#usage)
    - [1. using the class ConfigurationManager](#1-using-the-class-configurationmanager)
    - [2. using the static factory](#2-using-the-static-factory)
- [Accessing values](#accessing-values)
- [Customization](#customization)

Requirements
------------

[](#requirements)

- php: ^8.0

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

[](#installation)

### 1. Using Composer

[](#1-using-composer)

You can install the library via [Composer](https://getcomposer.org/).

```
php composer.phar require abdeslam/configuration-manager

```

or

```
composer require abdeslam/configuration-manager

```

### 2. Manually

[](#2-manually)

If you're not using Composer, you can also clone `Abdeslam/ConfigurationManager` repository into your directory:

```
git clone https://github.com/Abdeslam-Gacemi/ConfigurationManager.git

```

However, using Composer is recommended as you can easily keep the library up-to-date.

Usage
-----

[](#usage)

### 1. using the class `ConfigurationManager`

[](#1-using-the-class-configurationmanager)

let's assume that is your PHP configuration file :

```
