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

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

maer/config
===========

A small config library

2.0.1(8y ago)94.0k↓71.7%4[2 issues](https://github.com/magnus-eriksson/config/issues)4MITPHPPHP &gt;=7.0.0

Since May 19Pushed 8y ago1 watchersCompare

[ Source](https://github.com/magnus-eriksson/config)[ Packagist](https://packagist.org/packages/maer/config)[ RSS](/packages/maer-config/feed)WikiDiscussions develop Synced today

READMEChangelog (3)Dependencies (2)Versions (11)Used By (4)

A small config package in PHP
=============================

[](#a-small-config-package-in-php)

[![Build Status](https://camo.githubusercontent.com/0193c22a4c695de31a94399af45454ebb4c1387ebd843567550eee9d5e4f0f9d/68747470733a2f2f6170692e7472617669732d63692e6f72672f6d61676e75732d6572696b73736f6e2f636f6e6669672e737667)](https://travis-ci.org/magnus-eriksson/config)

Load config files and set or get values using dot notation for nested arrays.

Install
-------

[](#install)

Clone this repository or use composer to download the latest version:

```
$ composer require maer/config
```

Usage
-----

[](#usage)

### Config files structure

[](#config-files-structure)

Out of the box, the config files can be either a PHP file, returning an array:

```
