PHPackages                             hackphp/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. hackphp/config

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

hackphp/config
==============

HackPHP Config Access.

1.1(4y ago)113MITPHP

Since Aug 21Pushed 4y agoCompare

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

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

HackPHP Config
==============

[](#hackphp-config)

HackPHP Config Access.

Usage
-----

[](#usage)

```
composer require hackphp/config
```

```
use Hackphp\Config\Config;
use Hackphp\Config\Parsers\ArrayParser;

$config = new Config([
    "app" => [
        "name" => "HackPHP"
    ],
    "server" => [
        "host" => "127.0.0.1",
        "port" => 8000
    ],
]);

$configRootDir = __DIR__ . "/config";
$config->addParser(new ArrayParser($configRootDir));
$config->load();

echo $config->get("server.host");
// output: 127.0.0.1

echo $config->get("file.key", "default value");
// output: default value
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

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

Total

3

Last Release

1731d ago

### Community

Maintainers

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

---

Top Contributors

[![mohamed-samir907](https://avatars.githubusercontent.com/u/40417075?v=4)](https://github.com/mohamed-samir907 "mohamed-samir907 (4 commits)")

---

Tags

confighackphpphpswoole

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[jcergolj/brevo-webhook-manager-for-laravel

Brevo webhook manager for Laravel

207.5k](/packages/jcergolj-brevo-webhook-manager-for-laravel)

PHPackages © 2026

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