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

ActiveLibrary

ride/lib-config
===============

Configuration library of the Ride framework

1.1(2y ago)15.7k1[1 PRs](https://github.com/all-ride/ride-lib-config/pulls)13MITPHP

Since Oct 10Pushed 2y ago7 watchersCompare

[ Source](https://github.com/all-ride/ride-lib-config)[ Packagist](https://packagist.org/packages/ride/lib-config)[ RSS](/packages/ride-lib-config/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (17)Used By (13)

Ride: Configuration Library
===========================

[](#ride-configuration-library)

Configuration library of the PHP Ride framework.

What's In This Library
----------------------

[](#whats-in-this-library)

### Config

[](#config)

The *Config* interface defines a configuration data container used to get and set parameters. A generic implementation is provided.

### ConfigIO

[](#configio)

To read and write the configuration from the data source, the *ConfigIO* interface is used. Out of the box, you can create a *ParserConfigIO* with a parser of your choice wrapped around the file browser of *ride-lib-system*. You can wrap any IO around the *CachedConfigIO* to improve performance.

### Parser

[](#parser)

The *Parser* interface is used to read and write different file formats. An ini and json implementation are provided.

Code Sample
-----------

[](#code-sample)

Check this code sample to see the possibilities of this library:

```
