PHPackages                             moay/config\_lite - 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. moay/config\_lite

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

moay/config\_lite
=================

Lightweight package for ini style configuration/settings text files

1.0.0(6y ago)01.0k1PHP-3.0PHP

Since Feb 25Pushed 6y agoCompare

[ Source](https://github.com/moay/Config_Lite)[ Packagist](https://packagist.org/packages/moay/config_lite)[ Docs](http://pear.php.net/package/Config_Lite)[ RSS](/packages/moay-config-lite/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (1)Versions (5)Used By (1)

Config\_Lite
============

[](#config_lite)

[![Build Status](https://camo.githubusercontent.com/430ad69ec656b336f3f59b63d7905a8d5214984fb10f93f9d2de6ac956cbe847/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f706561722f436f6e6669675f4c6974652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/pear/Config_Lite)

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

[](#description)

a simple, lightweight and fast class for ini style configuration files, with the native PHP function `parse\_ini\_file' under the covers.

Config\_Lite is inspired by Pythons ConfigParser.

A "Config\_Lite" file consists of global key/value pair (KVP) entries and optional sections, "\[section\]", followed by "name = value" (KVP) entries.

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

[](#installation)

*Pear*

`pear install Config_Lite-beta`

*Composer*

**Create a composer.json file and run `composer install`**

```
{
    "repositories": [
        {
            "type": "pear",
            "url": "pear.php.net"
        }
    ],
    "require": {
        "pear-pear.php.net/config_lite": "*"
    }
}

```

**Composers autoload example usage**

```
