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

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

webtheory/config
================

Directory based configuration with support for lazy resolution of entries

0.3.1(2y ago)15884MITPHPPHP ^8.0

Since Dec 20Pushed 2y ago1 watchersCompare

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

READMEChangelogDependencies (21)Versions (9)Used By (4)

config
======

[](#config)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c3bd5f773f4e5b35b86c79e923106a2b8fb2c41dd0fa2d030c073dce84a62cc5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7765627468656f72792f636f6e6669672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/webtheory/config)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/41eed7b70ba78745092872453077e3a9b1770ad1fcf40169d09f5da5f8975773/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7370696465722d6d616e652f636f6e6669672f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/spider-mane/config)[![Coverage Status](https://camo.githubusercontent.com/785acbb2330132f1249f8afea2027ebec61f9a5ca29fb70688af9b52ce325cc1/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f7370696465722d6d616e652f636f6e6669672e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/spider-mane/config/code-structure)[![Quality Score](https://camo.githubusercontent.com/4c43d0072d9f3f27e25df1bb5d66f0401d80bf68a689a739477ece0a2fb118bb/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7370696465722d6d616e652f636f6e6669672e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/spider-mane/config)[![Total Downloads](https://camo.githubusercontent.com/72a674b288d3ba372ce06724be1fb50cd9e8a8cf6975552f8f30e9f2216795ee/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7765627468656f72792f636f6e6669672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/webtheory/config)

Config with support for deferred entries

Install
-------

[](#install)

Via Composer

```
composer require webtheory/config
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Chris Williams](https://github.com/spider-mane)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity50

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

Recently: every ~155 days

Total

8

Last Release

980d ago

PHP version history (3 changes)0.1.0PHP &gt;=7.4

0.2.3PHP ^7.4 || ^8.0

0.3.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/42c6c17a141acad92bd90ad7b7e574ea19ecb332f33272a041261566670576cf?d=identicon)[webtheory](/maintainers/webtheory)

---

Top Contributors

[![spider-mane](https://avatars.githubusercontent.com/u/17187449?v=4)](https://github.com/spider-mane "spider-mane (27 commits)")

---

Tags

configwebtheory

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[symfony/options-resolver

Provides an improved replacement for the array\_replace PHP function

3.2k493.9M1.6k](/packages/symfony-options-resolver)[league/config

Define configuration arrays with strict schemas and access values with dot notation

564302.2M24](/packages/league-config)[dflydev/dot-access-configuration

Given a deep data structure representing a configuration, access configuration by dot notation.

13414.5M4](/packages/dflydev-dot-access-configuration)[m1/env

Env is a lightweight library bringing .env file parser compatibility to PHP. In short - it enables you to read .env files with PHP.

6412.0M21](/packages/m1-env)[caseyamcl/configula

A simple, but versatile, PHP config loader

42146.6k6](/packages/caseyamcl-configula)

PHPackages © 2026

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