PHPackages                             brightfish/enhanced\_ini - 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. brightfish/enhanced\_ini

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

brightfish/enhanced\_ini
========================

Read INI files with enhanced features

00PHP

Since Dec 25Pushed 6y ago2 watchersCompare

[ Source](https://github.com/brightfish-be/enhanced-ini)[ Packagist](https://packagist.org/packages/brightfish/enhanced_ini)[ RSS](/packages/brightfish-enhanced-ini/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

enhanced-ini
============

[](#enhanced-ini)

[![Build Status](https://camo.githubusercontent.com/b50ce330dbf98e8ed27afe0d1d34a764c5cc7fc094457835e9af2e551dd73274/68747470733a2f2f7472617669732d63692e636f6d2f627269676874666973682d62652f656e68616e6365642d696e692e7376673f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://travis-ci.com/brightfish-be/enhanced-ini)

Read .ini files with enhanced functionality:

use of a 'default' chapter
--------------------------

[](#use-of-a-default-chapter)

- there is a default chapter that can be used to give default key/values for all the other chapters
- the default chapter name is `[default]` but this can be changed to e.g. `[_default]` or `[def-values]`

```
[default]
key1=1

[chapter1]
// key1 will exist and = 1
key2=2
```

{parameter} substitution
------------------------

[](#parameter-substitution)

- key names can be used as variables in value definition and will be substituted when the value is consulted.
- The variable syntax is `{key}` by default, but can be changed to e.g. `{$key}` or `[key]`

```
[default]
domain=www.example.com

[chapter1]
code=4567
url=https://{domain}}/?code={code}
// url will be = https://www.example.com/?code=4567
```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/337ba8a7b95f42ae856defba4b85180291c8d12c33eb99011ccb9d58294e2be7?d=identicon)[brightfish](/maintainers/brightfish)

---

Top Contributors

[![cinemapub](https://avatars.githubusercontent.com/u/1841829?v=4)](https://github.com/cinemapub "cinemapub (15 commits)")

---

Tags

configurationiniphp

### Embed Badge

![Health badge](/badges/brightfish-enhanced-ini/health.svg)

```
[![Health](https://phpackages.com/badges/brightfish-enhanced-ini/health.svg)](https://phpackages.com/packages/brightfish-enhanced-ini)
```

###  Alternatives

[yavin/symfony-form-tree

create select field with indentation for tree structure

1591.1k1](/packages/yavin-symfony-form-tree)[spatie/laravel-help-space

Integrate Helpspace in your Laravel app

2333.7k](/packages/spatie-laravel-help-space)

PHPackages © 2026

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