PHPackages                             mordilion/configurable - 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. mordilion/configurable

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

mordilion/configurable
======================

A library to make your classes configurable

0.7.3(7y ago)5173↓100%1MITPHPPHP &gt;=7.2.0

Since Mar 8Pushed 7y ago3 watchersCompare

[ Source](https://github.com/mordilion/Configurable)[ Packagist](https://packagist.org/packages/mordilion/configurable)[ Docs](http://github.com/mordilion/Configurable)[ RSS](/packages/mordilion-configurable/feed)WikiDiscussions master Synced today

READMEChangelog (7)DependenciesVersions (16)Used By (0)

[![Travis](https://camo.githubusercontent.com/a722b8c28046ed2ceb515151e453a060bbd7760ea149bbbc06c780761f9ca73c/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6d6f7264696c696f6e2f436f6e666967757261626c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mordilion/Configurable)[![Packagist](https://camo.githubusercontent.com/b642a7dbd3214b9c25fd97d5d27ddc76d261b66f5cc9f2b559a6d757e28c22c9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6f7264696c696f6e2f636f6e666967757261626c652e737667)](https://packagist.org/packages/mordilion/configurable)

Configurable
============

[](#configurable)

Description
-----------

[](#description)

Configurable is a small library to make each class configurable with different kinds of configuration objects. Internaly does it create an own type of configuration object to make it more reusable.

Requirements for YAML support
-----------------------------

[](#requirements-for-yaml-support)

To use that package with YAML you have to have at least one of the following libraries in your installation.

Symfony YAML-Component

Spyc (Simple-PHP-YAML-Class)

PECL YAML

Basic Example
-------------

[](#basic-example)

```
