PHPackages                             freezemage0/config - 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. freezemage0/config

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

freezemage0/config
==================

Small configuration files management library.

3.0.0(2y ago)058[1 issues](https://github.com/freezemage0/config/issues)GPL-2.0-or-laterPHPPHP ^7.4

Since Apr 27Pushed 2y ago1 watchersCompare

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

READMEChangelog (4)Dependencies (2)Versions (17)Used By (0)

Configuration
=============

[](#configuration)

`freezemage0/config` is a library that provides an easy way to read and create configuration files. Supports `.json`, `.ini` and `.php` formats.

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

[](#installation)

You can install this package using composer: `composer require freezemage0/config`

Usage
-----

[](#usage)

### ConfigFactory

[](#configfactory)

ConfigFactory automatically resolves the Importer and Exporter for the configuration. The resolving is based on file extension.

#### Usage example:

[](#usage-example)

##### Creation of configuration object

[](#creation-of-configuration-object)

```
