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

ActiveLibrary

packaged/config
===============

Configuration Layer

1.12.0(3mo ago)0183.8k↓29.1%19MITPHPPHP &gt;=7.4CI passing

Since Feb 9Pushed 3mo ago1 watchersCompare

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

READMEChangelog (10)Dependencies (1)Versions (27)Used By (9)

Configuration Package
=====================

[](#configuration-package)

[![Latest Stable Version](https://camo.githubusercontent.com/649089c5d1c0ec5329eaddfe53518464d4a91eab165195cc634f33ea2619a284/68747470733a2f2f706f7365722e707567782e6f72672f7061636b616765642f636f6e6669672f76657273696f6e2e706e67)](https://packagist.org/packages/packaged/config)[![Total Downloads](https://camo.githubusercontent.com/a7c33f8d9c3635f465fefc5957d8b0614e260e30ee0628156efaba8bd288317a/68747470733a2f2f706f7365722e707567782e6f72672f7061636b616765642f636f6e6669672f642f746f74616c2e706e67)](https://packagist.org/packages/packaged/config)[![Coverage Status](https://camo.githubusercontent.com/8ef6f08c3ca6ad90f01d44a30ab9954e0badfffaaddf781170a7c9eb086b9fef/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f7061636b616765642f636f6e6669672f62616467652e706e67)](https://coveralls.io/r/packaged/config)

General Usage

```
$configProvider = new \Packaged\Config\ConfigProvider();

$configProvider->addItem("database", "hostname", "tester.local");
$configProvider->addItem("database", "username", "root");

// Retrieve the section and then pull the item specifically
// This method is great if you want to pass the whole section
// into an object to configure it
$section  = $configProvider->getSection("database");
$hostname = $section->getItem("hostname", "localhost");
echo "Located '$hostname' as the hostname from a section item get\n";

//Retrieve a single config item directly from the provider
// This method is useful for one off retrievals of an item
$username = $configProvider->getItem("database", "username", "brooke");
echo "Located '$username' as the username from a single item get\n";

```

###  Health Score

55

—

FairBetter than 98% of packages

Maintenance81

Actively maintained with recent releases

Popularity33

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 74.5% 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 ~190 days

Recently: every ~336 days

Total

24

Last Release

102d ago

Major Versions

0.4.0 → 1.0.02015-03-19

PHP version history (4 changes)0.0.1PHP &gt;=5.4.0

1.8.1PHP &gt;=7.0

1.10.0PHP &gt;=8.0

1.12.0PHP &gt;=7.4

### Community

Maintainers

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

---

Top Contributors

[![bajb](https://avatars.githubusercontent.com/u/2241334?v=4)](https://github.com/bajb "bajb (38 commits)")[![TomK](https://avatars.githubusercontent.com/u/299656?v=4)](https://github.com/TomK "TomK (11 commits)")[![cleeve](https://avatars.githubusercontent.com/u/11215529?v=4)](https://github.com/cleeve "cleeve (1 commits)")[![rgooding](https://avatars.githubusercontent.com/u/3207236?v=4)](https://github.com/rgooding "rgooding (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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