PHPackages                             pixel418/iniliq - 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. pixel418/iniliq

ActiveLibrary

pixel418/iniliq
===============

An ini parser for inherited values through multiple configuration files

v0.3.2(13y ago)624.7k—6.3%2[1 issues](https://github.com/Elephant418/Iniliq/issues)1MITPHPPHP &gt;=5.3.0

Since Jan 15Pushed 12y agoCompare

[ Source](https://github.com/Elephant418/Iniliq)[ Packagist](https://packagist.org/packages/pixel418/iniliq)[ Docs](https://github.com/Pixel418/Iniliq)[ RSS](/packages/pixel418-iniliq/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (20)Used By (1)

Iniliq [![Build Status](https://camo.githubusercontent.com/5c216983ea5080c4e41bd42fb7ff174e03f54099d406350f9a29ad850e0c1489/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f506978656c3431382f496e696c69712e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/Pixel418/Iniliq?branch=master)
==============================================================================================================================================================================================================================================================================================================

[](#iniliq-)

An ini parser for inherited values through multiple configuration files

1. [Let's code](#lets-code)
    1.1 [Json Values](#json-values)
    1.2 [Deep selectors](#deep-selectors)
    1.3 [File inheritance](#file-inheritance)
    1.4 [Appending](#appending)
    1.5 [Reducing](#reducing)
2. [How to Install](#how-to-install)
3. [How to Contribute](#how-to-contribute)
4. [Author &amp; Community](#author--community)

Let's code
----------

[](#lets-code)

### Json values

[](#json-values)

```
; json-values.ini
[Readme]
example = { json: yeah, is-it: [ good, great, awesome ] }
```

```
$ini = ( new \Pixel418\Iniliq\IniParser )->parse( 'json-values.ini' );
// [ 'Readme' => [ 'example' => [ 'json' => 'yeah', 'is-it' => [ 'good', 'great', 'awesome' ] ] ] ]
```

[↑ top](#readme)

### Deep selectors

[](#deep-selectors)

```
; deep-selectors.ini
[Readme]
example.selectors.deep = nice
```

```
$ini = ( new \Pixel418\Iniliq\IniParser )->parse( 'deep-selectors.ini' );
// [ 'Readme' => [ 'example' => [ 'selectors' => [ 'deep' => 'nice' ] ] ]
get_class( $ini );
// Pixel418\Iniliq\ArrayObject
$ini[ 'Readme.example.selectors.deep' ]
// nice
$ini[ 'Readme.example.selectors.deep' ] = 'amusing'
// [ 'Readme' => [ 'example' => [ 'selectors' => [ 'deep' => 'amusing' ] ] ]
```

[↑ top](#readme)

### File inheritance

[](#file-inheritance)

```
; base.ini
[Readme]
example[name] = John Doe
example[id] = 3
```

```
; file-inheritance.ini
[Readme]
example.name = file-inheritance
```

```
$ini = ( new \Pixel418\Iniliq\IniParser )->parse( [ 'base.ini', 'file-inheritance.ini' ] );
// [ 'Readme' => [ 'example' => [ 'name' => 'file-inheritance', 'id' => '3' ] ] ]
```

[↑ top](#readme)

### Appending

[](#appending)

```
; list.ini
[Readme]
musketeers.name[ ] = Athos
musketeers.name[ ] = Porthos
musketeers.name[ ] = "D'Artagnan"
```

```
; adding-values.ini
[Readme]
musketeers.name += [ Aramis ]
```

```
$ini = ( new \Pixel418\Iniliq\IniParser )->parse( [ 'list.ini', 'adding-values.ini' ] );
// [ 'Readme' => [ 'musketeers' => [ 'Athos', 'Porthos', 'D\'Artagnan', 'Aramis' ] ] ]
```

[↑ top](#readme)

### Reducing

[](#reducing)

```
; list.ini
[Readme]
musketeers.name[ ] = Athos
musketeers.name[ ] = Porthos
musketeers.name[ ] = "D'Artagnan"
```

```
; removing-values.ini
[Readme]
musketeers.name -= "[ D'Artagnan ]"
```

```
$ini = ( new \Pixel418\Iniliq\IniParser )->parse( [ 'list.ini', 'removing-values.ini' ] );
// [ 'Readme' => [ 'musketeers' => [ 'Athos', 'Porthos' ] ] ]
```

[↑ top](#readme)

How to Install
--------------

[](#how-to-install)

If you don't have composer, you have to [install it](http://getcomposer.org/doc/01-basic-usage.md#installation).

Add or complete the composer.json file at the root of your project, like this :

```
{
    "require": {
        "pixel418/iniliq": "0.3.2"
    }
}
```

Iniliq can now be [downloaded via composer](http://getcomposer.org/doc/01-basic-usage.md#installing-dependencies).

Lastly, to use it in your PHP, you can load the composer autoloader :

```
require_once( './vendor/autoload.php' );
```

[↑ top](#readme)

How to Contribute
-----------------

[](#how-to-contribute)

1. Fork the Iniliq repository
2. Create a new branch for each feature or improvement
3. Send a pull request from each feature branch to the **develop** branch

If you don't know much about pull request, you can read [the Github article](https://help.github.com/articles/using-pull-requests).

All pull requests must follow the [PSR1 standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md) and be accompanied by passing [phpunit](https://github.com/sebastianbergmann/phpunit/) tests.

[↑ top](#readme)

Author &amp; Community
----------------------

[](#author--community)

Iniliq is under the [MIT License](http://opensource.org/licenses/MIT).
It is created and maintained by [Thomas ZILLIOX](http://tzi.fr).

[↑ top](#readme)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~6 days

Recently: every ~15 days

Total

18

Last Release

4756d ago

PHP version history (2 changes)v0.1.0PHP &gt;=5.4.0

v0.2.1PHP &gt;=5.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/ec42ca91d6d8890d5c8388cfe4868300d921dc4b1c33682e7f4e33d4c5e10bc8?d=identicon)[Pixel418](/maintainers/Pixel418)

---

Top Contributors

[![tzi](https://avatars.githubusercontent.com/u/415891?v=4)](https://github.com/tzi "tzi (89 commits)")

---

Tags

ini

### Embed Badge

![Health badge](/badges/pixel418-iniliq/health.svg)

```
[![Health](https://phpackages.com/badges/pixel418-iniliq/health.svg)](https://phpackages.com/packages/pixel418-iniliq)
```

###  Alternatives

[hassankhan/config

Lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files

97513.5M170](/packages/hassankhan-config)[jbzoo/data

An extended version of the ArrayObject object for working with system settings or just for working with data arrays

891.6M23](/packages/jbzoo-data)[m1/vars

Vars is a simple to use and easily extendable configuration loader with in built loaders for ini, json, PHP, toml, XML and yaml/yml file types. It also comes with in built support for Silex and more frameworks to come soon.

69124.2k1](/packages/m1-vars)[aplus/config

Aplus Framework Config Library

161.6M3](/packages/aplus-config)[magicalex/write-ini-file

Write-ini-file php library for create, remove, erase, add, and update ini file

17155.5k5](/packages/magicalex-write-ini-file)[thewunder/conphigure

Framework Agnostic Configuration Library

3115.9k](/packages/thewunder-conphigure)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
