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

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

vortex-php/config
=================

A simple config library to managing application config variables

02PHP

Since Nov 20Pushed 6mo agoCompare

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

READMEChangelog (1)DependenciesVersions (1)Used By (0)

Vortex Config
=============

[](#vortex-config)

[![PHP Version](https://camo.githubusercontent.com/7535257ca228724c93658bd52583d4e47a9bab02c356abf6e54c1d575f2151e6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312532422d626c75652e737667)](https://www.php.net/)[![License](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](LICENSE)

A lightweight PHP configuration library for **PHP, JSON, YAML, and `.env` files**, supporting nested keys, strict mode, and memory-resident usage.
Designed to be **Swoole-friendly** for long-running processes.

---

Features
--------

[](#features)

- Load configuration from **PHP, JSON, YAML, and `.env` files**
- Supports **nested keys** (`database.connections.mysql.host`)
- **Strict mode** to throw exceptions on missing keys
- **Memory-resident**, safe for Swoole long-running processes
- PSR-12 / PHP 8.1+ ready
- Lightweight and framework-agnostic

---

Requirements
------------

[](#requirements)

- PHP 8.1 or higher
- Optional extensions:
    - `ext-yaml` for YAML support
    - `ext-json` for JSON support

---

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

[](#installation)

Install via Composer:

```
composer require vortex-php/config
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance47

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

 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/679cb48020394fc81050124ce7ac11f1341de2d8b08ac8265e824aa8029308c7?d=identicon)[lemoba](/maintainers/lemoba)

---

Top Contributors

[![lemoba](https://avatars.githubusercontent.com/u/31270124?v=4)](https://github.com/lemoba "lemoba (3 commits)")

### Embed Badge

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

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

###  Alternatives

[knplabs/knp-components

Knplabs component library

77443.6M46](/packages/knplabs-knp-components)[bangnokia/laravel-serve-livereload

Bring livereload to laravel artisan serve command

1008.9k](/packages/bangnokia-laravel-serve-livereload)[bitexpert/disco

Dependency Injection Container

1401.8k3](/packages/bitexpert-disco)[realmrhex/filament-modular-v3

Modular functionality for FilamentPHP v3.

153.9k](/packages/realmrhex-filament-modular-v3)[anlutro/menu

Dynamic menu builder.

191.7k1](/packages/anlutro-menu)

PHPackages © 2026

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