PHPackages                             eclogue/ben - 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. eclogue/ben

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

eclogue/ben
===========

php config

1.0.0(8y ago)146MITPHP

Since Jul 14Pushed 6y ago1 watchersCompare

[ Source](https://github.com/eclogue/ben)[ Packagist](https://packagist.org/packages/eclogue/ben)[ RSS](/packages/eclogue-ben/feed)WikiDiscussions master Synced 3d ago

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

ben
===

[](#ben)

Ben is the name of my old buffalo.This project is designed to manage the configuration file.

\#usage `use Ben\Config;`

- `Config::set($key, $val = '')`

    `$key` string or array if $key use `.` connection, it will be considered as get value from multi-dimensional arrays by index. For example:

    ```
    Config::set('test.foo'); // look like $config['test']['foo'];

    ```

    if $key is array it will be merged
- `Config::get($key)`

    `$key` string support use `.` connector to search multi-dimensional arrays. For example: `Config::get('test.foo')`
- load configure file from path `Config::load($path, $defaul = 'default.php')`

    ```
    Config::load('./config/develop.php');

    ```
- support auto load by command line arguments

    ```
        // set path
        Config::load('./config');
        // run script
        php demo.php --env staging

    ```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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

Unknown

Total

1

Last Release

3227d ago

### Community

Maintainers

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

---

Top Contributors

[![superbogy](https://avatars.githubusercontent.com/u/6630736?v=4)](https://github.com/superbogy "superbogy (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/eclogue-ben/health.svg)

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

###  Alternatives

[ckfinder/ckfinder-laravel-package

CKFinder 3 package for Laravel

159497.2k48](/packages/ckfinder-ckfinder-laravel-package)[jaxon-php/jaxon-core

Jaxon is an open source PHP library for easily creating Ajax web applications

73142.3k25](/packages/jaxon-php-jaxon-core)[ckfinder/ckfinder-symfony-bundle

CKFinder bundle for Symfony

42435.7k](/packages/ckfinder-ckfinder-symfony-bundle)[inpsyde/wp-app-container

DI Container and related tools to be used at website level.

41253.5k](/packages/inpsyde-wp-app-container)[rockettheme/toolbox

RocketTheme Toolbox Library

22526.9k3](/packages/rockettheme-toolbox)[rochamarcelo/cake-pimple-di

A cakephp plugin for dependency injection based on Pimple library

12176.8k](/packages/rochamarcelo-cake-pimple-di)

PHPackages © 2026

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