PHPackages                             ulrichsg/phconf - 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. ulrichsg/phconf

ActiveLibrary

ulrichsg/phconf
===============

Hierarchical configuration inspired by nconf

06PHP

Since Mar 1Pushed 10y ago1 watchersCompare

[ Source](https://github.com/ulrichsg/phconf)[ Packagist](https://packagist.org/packages/ulrichsg/phconf)[ RSS](/packages/ulrichsg-phconf/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

phconf
======

[](#phconf)

Hierarchical configuration for PHP inspired by [nconf](https://github.com/indexzero/nconf)

Features
--------

[](#features)

- Import configuration from a variety of sources
    - Files (JSON, YAML, INI)
    - Environment variables
- Set overridable default values

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

[](#installation)

Install using Composer via `composer require ulrichsg/phconf` or add it to your composer.json manually. Note that phconf requires PHP 5.6 or above.

Usage
-----

[](#usage)

See the [documentation](doc/usage.md).

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

[![ulrichsg](https://avatars.githubusercontent.com/u/197901?v=4)](https://github.com/ulrichsg "ulrichsg (1 commits)")

### Embed Badge

![Health badge](/badges/ulrichsg-phconf/health.svg)

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

PHPackages © 2026

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