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

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

viloveul/config
===============

Base Configuration for Viloveul Components.

v1.0.3(7y ago)11612MITPHPPHP ~7.0

Since Jan 14Pushed 6y ago1 watchersCompare

[ Source](https://github.com/viloveul/config)[ Packagist](https://packagist.org/packages/viloveul/config)[ Docs](http://www.viloveul.com)[ RSS](/packages/viloveul-config/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (4)Dependencies (3)Versions (6)Used By (2)

[![Build Status](https://camo.githubusercontent.com/96be4486dedfa52512f86acd7a66e92cd50fa67b28594001f952f3bdd0d95396/68747470733a2f2f7472617669732d63692e636f6d2f76696c6f7665756c2f636f6e6669672e737667)](https://travis-ci.com/viloveul/config)[![Total Downloads](https://camo.githubusercontent.com/3769db15b2cb11c00ea200cf440a2737b5e50766a5cf7728de1e96a4f2b27e17/68747470733a2f2f706f7365722e707567782e6f72672f76696c6f7665756c2f636f6e6669672f642f746f74616c2e737667)](https://packagist.org/packages/viloveul/config)[![Latest Stable Version](https://camo.githubusercontent.com/9b83734ee1c6dcb4da18edb6e7bef08cdfe31500ad0e1a94bb4a8ef950b669b5/68747470733a2f2f706f7365722e707567782e6f72672f76696c6f7665756c2f636f6e6669672f762f737461626c652e737667)](https://packagist.org/packages/viloveul/config)

Installation
============

[](#installation)

make sure your php version &gt; 7.0

```
composer require viloveul/config
```

HOW
---

[](#how)

```
require __DIR__ . '/vendor/autoload.php';

$config = new Viloveul\Config\Configuration([
	'key' => 'value'
]);
$config->setFoo('bar');
$config->bar = 'baz';
$config['main'] = 'item';

$otherConfig = Viloveul\Config\ConfigFactory::load('/path/to/your/config/file.php');

$anotherConfig = new Viloveul\Config\Configuration([
	'hello' => 'world'
]);

$otherAnotherConfig = new Viloveul\Config\Configuration([
	'key' => 'dor'
]);

$anotherOtherAnotherConfig = new Viloveul\Config\Configuration([
	'foo' => 'ssstttt'
]);

$config->merge($otherConfig);
$config->merge($anotherConfig);
$config->merge($anotherConfig, false);
$config->merge($anotherOtherAnotherConfig, true);

var_dump($config->all());
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

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

Total

5

Last Release

2535d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/609a03f1a38d80aa5cf333dd556cb748371dbcbc880f3c580ecea72ff0fb228b?d=identicon)[zafex](/maintainers/zafex)

---

Top Contributors

[![zafex](https://avatars.githubusercontent.com/u/12587685?v=4)](https://github.com/zafex "zafex (13 commits)")

---

Tags

componentconfigurationphpviloveulviloveul-frameworkconfiglibrarycomponentzafexviloveulfajrulaz

###  Code Quality

TestsCodeception

### Embed Badge

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

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

PHPackages © 2026

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