PHPackages                             ifcastle/configurator-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. ifcastle/configurator-ini

ActiveIfcastle-component[Utility &amp; Helpers](/categories/utility)

ifcastle/configurator-ini
=========================

Configurator component.

v0.7.0(1y ago)1251MITPHP

Since Aug 4Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/IFCastle/configurator-ini)[ Packagist](https://packagist.org/packages/ifcastle/configurator-ini)[ RSS](/packages/ifcastle-configurator-ini/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (11)Used By (1)

Configurator [![PHP Composer](https://github.com/EdmondDantes/configurator-ini/actions/workflows/php.yml/badge.svg)](https://github.com/EdmondDantes/configurator-ini/actions/workflows/php.yml)
================================================================================================================================================================================================

[](#configurator-)

A simple ini-configurator for the `IfCastle` framework. Implement the main application configuration and service configuration.

The package implements the following interfaces:

- `ConfigInterface`
- `RepositoryReaderInterface`
- `ServiceCollectionInterface`
- `ServiceCollectionWriterInterface`

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

[](#installation)

> This package must be installed within the **IfCastle** application environment, i.e., in `ifcastle/package-installer`, if you want the dependencies to be correctly defined.

```
composer require ifcastle/configurator-ini
```

Usage
-----

[](#usage)

The package defines two ini files:

- the main application configuration file: `main.ini`
- the service registry: `services.ini`

All files must be located in the root directory of the project.

Syntax
------

[](#syntax)

This package uses the `ini_parse` function under the hood in data type mode and additionally converts sections of the type \[section.key\] into a nested array.

Automatic replacement for `ENV` variables will also work, i.e., syntax with "%":

```
[database]
host = %DB_HOST%
port = %DB_PORT%
user = %DB_USER%
password = %DB_PASSWORD%
```

See also the [ini\_parse](https://www.php.net/manual/en/function.parse-ini-file.php) function.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance60

Regular maintenance activity

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity36

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.

###  Release Activity

Cadence

Every ~12 days

Total

10

Last Release

534d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0bbbb16082fa2d9cb757d6e84fbac3c18c135b08111bf01611dfbd5123a77f68?d=identicon)[EdmondIf](/maintainers/EdmondIf)

---

Top Contributors

[![EdmondDantes](https://avatars.githubusercontent.com/u/1571649?v=4)](https://github.com/EdmondDantes "EdmondDantes (7 commits)")

---

Tags

configuratoriniifcastle

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ifcastle-configurator-ini/health.svg)

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

###  Alternatives

[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)

PHPackages © 2026

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