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

AbandonedArchivedLibrary

elnebuloso/flex-config
======================

configuration for your environment

5.0.0(9y ago)062MITPHPPHP ^5.6 || ^7.0

Since Feb 5Pushed 5y ago1 watchersCompare

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

READMEChangelog (6)Dependencies (1)Versions (7)Used By (0)

flex-config
===========

[](#flex-config)

[![abandoned](https://camo.githubusercontent.com/8647476f20aab6e511c7963e8fcdf568402036fcdb17e0b54b25bccf3b20381e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70726f6a6563742d6162616e646f6e65642d726564)](https://camo.githubusercontent.com/8647476f20aab6e511c7963e8fcdf568402036fcdb17e0b54b25bccf3b20381e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70726f6a6563742d6162616e646f6e65642d726564)

configuration for your environment

about
-----

[](#about)

- Returns Zend\\Config for PHP Array Configurations from Files
- Optional merging of environment specific Configuration
- The Key represents the Configuration File
- e.g. foo = foo.php under directory
- e.g. foo = foo.staging.php for staging environment
- staging configurations will optionally be merged onto main configuration

examples
--------

[](#examples)

```
\Flex\ConfigManager::setDirectory('configs');
\Flex\ConfigManager::get('app');
```

```
\Flex\ConfigManager::setDirectory('configs');
\Flex\ConfigManager::setEnvironment('staging');
\Flex\ConfigManager::get('app');
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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

Every ~107 days

Recently: every ~124 days

Total

6

Last Release

3574d ago

Major Versions

2.0.5 → 3.0.02015-11-23

3.0.0 → 4.0.02016-06-18

4.0.0 → 5.0.02016-07-26

PHP version history (4 changes)2.0.1PHP ~5.3

2.0.5PHP &gt;=5.3.0

3.0.0PHP &gt;=5.4.0

5.0.0PHP ^5.6 || ^7.0

### Community

Maintainers

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

---

Top Contributors

[![elnebuloso](https://avatars.githubusercontent.com/u/1664114?v=4)](https://github.com/elnebuloso "elnebuloso (15 commits)")

---

Tags

applicationconfigurationmanagementphpphpconfigurationenvironment configuration

### Embed Badge

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

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

###  Alternatives

[m1/vars

Vars is a simple to use and easily extendable configuration loader with in built loaders for ini, json, PHP, toml, XML and yaml/yml file types. It also comes with in built support for Silex and more frameworks to come soon.

69124.2k1](/packages/m1-vars)[romanpitak/nginx-config-processor

Nginx configuration files processor.

7235.3k1](/packages/romanpitak-nginx-config-processor)[davidepastore/slim-config

A slim middleware to read configuration from different files based on hassankhan/config

338.9k1](/packages/davidepastore-slim-config)[samrap/gestalt

Gestalt is a simple, elegant PHP package for managing your framework's configuration values.

163.6k1](/packages/samrap-gestalt)

PHPackages © 2026

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