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

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

enjoys/config
=============

Parse config files

1.9.0(9mo ago)03.4k↓50%2MITPHPPHP ^7.4|^8.0CI passing

Since Nov 15Pushed 9mo ago1 watchersCompare

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

READMEChangelog (1)Dependencies (7)Versions (27)Used By (2)

[![php 7.4](https://github.com/Enjoyzz/config/workflows/php%207.4/badge.svg)](https://github.com/Enjoyzz/config/workflows/php%207.4/badge.svg)[![php 8.0](https://github.com/Enjoyzz/config/workflows/php%208.0/badge.svg)](https://github.com/Enjoyzz/config/workflows/php%208.0/badge.svg)[![Build Status](https://camo.githubusercontent.com/07a250e2e6c3ba195a5b6389a51f974a843cffc8e5a8f7e6bba12ed0ed7dc1ce/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f456e6a6f797a7a2f636f6e6669672f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Enjoyzz/config/build-status/master)[![Code Coverage](https://camo.githubusercontent.com/094c60677a11d1524a796854f7c7172931f6eac7a0eddc39b68e1143d2ad593b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f456e6a6f797a7a2f636f6e6669672f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Enjoyzz/config/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/3ed53db0b787a19e44e96fe7d545586c859fa9722e903cdd740f95244b4c5efe/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f456e6a6f797a7a2f636f6e6669672f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Enjoyzz/config/?branch=master)

Install
=======

[](#install)

```
composer require enjoys/config

```

Usage
=====

[](#usage)

```
$config = new Enjoys\Config\Config();
$config->addConfig($configFilepath1);
$config->addConfig($configFilepath2, [], \Enjoys\Config\Config::YAML);
$config->get('key', 'defaultValue'); //get from $array['key']
$config->get('key->subKey'); //get from $array['key']'subKey']
```

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance57

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity69

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

Recently: every ~172 days

Total

26

Last Release

288d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25447823?v=4)[enjoys](/maintainers/enjoys)[@enjoys](https://github.com/enjoys)

---

Top Contributors

[![Enjoyzz](https://avatars.githubusercontent.com/u/1448659?v=4)](https://github.com/Enjoyzz "Enjoyzz (62 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[cognesy/instructor-php

The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control

310107.9k1](/packages/cognesy-instructor-php)[chh/pipe

Put your assets into the Pipe and smoke them.

1212.5k1](/packages/chh-pipe)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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