PHPackages                             progphil1337/php-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. progphil1337/php-config

ActiveLibrary

progphil1337/php-config
=======================

Config interpreter

v1.0.1(2y ago)0175MITPHPPHP ^8.1

Since Oct 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/progphil1337/php-config)[ Packagist](https://packagist.org/packages/progphil1337/php-config)[ RSS](/packages/progphil1337-php-config/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

PHP-Config
==========

[](#php-config)

Simple and fast configuration solution

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

[](#installation)

Install with composer:

```
$ composer require progphil1337/php-config
```

Compatibility
-------------

[](#compatibility)

`ProgPhil1337\Config` requires PHP 8.1 (or better).

Usage
-----

[](#usage)

### Basic example

[](#basic-example)

app.php

```
use Progphil1337\Config\Config;

$config = Config::create(__DIR__ . DIRECTORY_SEPARATOR . 'config.yaml');

$config->map(function (mixed $value): mixed {
	if (str_starts_with($value, '%m')) {
		return 'Modified value';
	}

	return $value;
});

$config->setHierarchyOperator('::'); // :: is default

echo $config->get('HttpServer::ip');
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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 ~449 days

Total

2

Last Release

854d ago

### Community

Maintainers

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

---

Top Contributors

[![progphil1337](https://avatars.githubusercontent.com/u/8302313?v=4)](https://github.com/progphil1337 "progphil1337 (3 commits)")

### Embed Badge

![Health badge](/badges/progphil1337-php-config/health.svg)

```
[![Health](https://phpackages.com/badges/progphil1337-php-config/health.svg)](https://phpackages.com/packages/progphil1337-php-config)
```

PHPackages © 2026

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