PHPackages                             lezhnev74/dummy-config-loader - 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. lezhnev74/dummy-config-loader

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

lezhnev74/dummy-config-loader
=============================

This file allows me to lazy load config files and access entries with dot syntax: `database.default.driver`

v1.0.2(9y ago)198MITPHPPHP ^7.0

Since Apr 13Pushed 9y ago1 watchersCompare

[ Source](https://github.com/lezhnev74/dummy-config-loader)[ Packagist](https://packagist.org/packages/lezhnev74/dummy-config-loader)[ RSS](/packages/lezhnev74-dummy-config-loader/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/3ea33d7665c3b7c3f13188d8d8503f250b6016d360231c24bb363c2ae82f8113/68747470733a2f2f706f7365722e707567782e6f72672f6c657a686e657637342f64756d6d792d636f6e6669672d6c6f616465722f762f737461626c65)](https://packagist.org/packages/lezhnev74/dummy-config-loader)[![Build Status](https://camo.githubusercontent.com/7c80f725ab96fad9078be5568ffdbc183afc3579f6da619863352a88d66c2989/68747470733a2f2f7472617669732d63692e6f72672f6c657a686e657637342f64756d6d792d636f6e6669672d6c6f616465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/lezhnev74/dummy-config-loader)[![License](https://camo.githubusercontent.com/13bf09f210ee5838a5c911a9130ae85b37930fdbc37ec1fe23d719e97505e502/68747470733a2f2f706f7365722e707567782e6f72672f6c657a686e657637342f64756d6d792d636f6e6669672d6c6f616465722f6c6963656e7365)](https://packagist.org/packages/lezhnev74/dummy-config-loader)[![Total Downloads](https://camo.githubusercontent.com/1c9b23fd32263a752c420f45f914c266eb3298205eeeb279a829b50d9af4b7a7/68747470733a2f2f706f7365722e707567782e6f72672f6c657a686e657637342f64756d6d792d636f6e6669672d6c6f616465722f646f776e6c6f616473)](https://packagist.org/packages/lezhnev74/dummy-config-loader)

Usage
=====

[](#usage)

```
$config = new DummyConfigLoader\Config(__DIR__); // this will look for config files in this folder
$value = $config->get('database.default.driver', 'mongodb');
```

You will get `mariadb` as `$value` if you will place file `database.php` in the given folder with contents:

```
return [
    "default" => [
        "driver" => "mariadb"
    ]
];
```

Otherwise you will get `mongodb`.

First section of any key addresses the file within the directory. One level of recursion allowed. If no such file found in the folder - exception will be thrown.

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

[](#installation)

```
composer require lezhnev74/dummy-config-loader

```

Support
-------

[](#support)

If you need help - feel comfortable to ping me at

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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

Total

3

Last Release

3363d ago

### Community

Maintainers

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

---

Top Contributors

[![lezhnev74](https://avatars.githubusercontent.com/u/10206110?v=4)](https://github.com/lezhnev74 "lezhnev74 (8 commits)")

---

Tags

configurationphp7

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lezhnev74-dummy-config-loader/health.svg)

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

PHPackages © 2026

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