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

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

yidemir/config
==============

Tiny configuration management in PHP

v1.0(7y ago)16MITPHPPHP &gt;=7.1.0

Since Nov 13Pushed 7y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Demir Config
============

[](#demir-config)

Introduction
------------

[](#introduction)

Tiny configuration management in PHP

Features
--------

[](#features)

- Tiny size
- Simple getter and setter methods
- Array dot notation
- Helper function

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

[](#installation)

```
$ composer require yidemir/config
```

Test
----

[](#test)

```
composer test
```

Usage
-----

[](#usage)

```
use Demir\Config\Config;

$config = [
  'foo' => 'bar',
  'app' => [
    'name' => 'baz'
  ]
];

new Config($config);

// getter
$foo = Config::get('foo'); // bar
$name = Config::get('app.name'); // baz

// setter
Config::set('foo', 'qux');
Config::set('app.name', 'mux');

// helper
config(['app.name' => 'data']); // setter
config('app.name'); // getter, result: data
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Unknown

Total

1

Last Release

2742d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/46856962e1ab9f95f2611e23b94343c80d80967c12aec80f41002887ccb03b23?d=identicon)[yidemir](/maintainers/yidemir)

---

Top Contributors

[![yidemir](https://avatars.githubusercontent.com/u/5863321?v=4)](https://github.com/yidemir "yidemir (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[barryvdh/reflection-docblock

1.3k118.6M40](/packages/barryvdh-reflection-docblock)[outlandish/oowp

A plugin for WordPress that makes post types easier to manage

415.4k](/packages/outlandish-oowp)[moell/rss

moell/rss is a package that follows the RSS 2.0 standard

111.8k1](/packages/moell-rss)

PHPackages © 2026

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