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

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

joebengalen/config
==================

Lightweight configuration manager library.

1.0.0(11y ago)1123MITPHPPHP &gt;=5.4

Since Apr 8Pushed 11y ago1 watchersCompare

[ Source](https://github.com/JoeBengalen/Config)[ Packagist](https://packagist.org/packages/joebengalen/config)[ Docs](https://github.com/JoeBengalen/Config)[ RSS](/packages/joebengalen-config/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

Config
======

[](#config)

[![Build Status](https://camo.githubusercontent.com/0e687db9f3b7a26c2674b6e35b5a01dee15e48aaf2ffbef0b034fd985cfff03c/68747470733a2f2f7472617669732d63692e6f72672f4a6f6542656e67616c656e2f436f6e6669672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/JoeBengalen/Config)[![Software License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](LICENSE.md)[![SensioLabsInsight](https://camo.githubusercontent.com/9e9e9dfce610dda21f676aed5ce64a0e4e7aad70c13adc82f8b2b33e5ff8cf49/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f65353839613036382d343866642d343037642d393335312d6236313237616366373734312f6d696e692e706e67)](https://insight.sensiolabs.com/projects/e589a068-48fd-407d-9351-b6127acf7741)

Config library can be used to store configuration options, which can be used later in the application. The `set`, `get`, `has` and `remove` methods as well as `\ArrayAccess` can be used to control the configuration options. For easy usage dot notation is supported to access nested arrays.

The source code is very easy to understand and can be extended to support more functionality when needed.

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

[](#installation)

Via [Composer](https://getcomposer.org)

```
$ composer require joebengalen/config
```

Usage
-----

[](#usage)

```
