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

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

kasseler/config
===============

Configure files library

1.0.1(11y ago)182MITPHPPHP &gt;=5.4.0

Since Feb 8Pushed 11y ago1 watchersCompare

[ Source](https://github.com/RobinCK/config)[ Packagist](https://packagist.org/packages/kasseler/config)[ Docs](http://kasseler-cms.net)[ RSS](/packages/kasseler-config/feed)WikiDiscussions master Synced 1mo ago

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

Config Component
================

[](#config-component)

[![Build Status](https://camo.githubusercontent.com/3d4fb4e13ac64debb3b20c2014a646de9e3912f9749eb638f2082fa2ad0599c2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f526f62696e434b2f636f6e6669672f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/RobinCK/config/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/269eea4a99341118b80097bf5ee23eedb303498654990a9e4b91f2a381c8dab1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f526f62696e434b2f636f6e6669672f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/RobinCK/config/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/73343969cdb229664730871c2564d00c7dc48f7337999f2b0345320750fcf62a/68747470733a2f2f706f7365722e707567782e6f72672f6b617373656c65722f636f6e6669672f762f737461626c652e737667)](https://packagist.org/packages/kasseler/config)[![Total Downloads](https://camo.githubusercontent.com/45750d7e750e38031ebc872149c17030c6822497a478b54d0fae4d9fb04437c2/68747470733a2f2f706f7365722e707567782e6f72672f6b617373656c65722f636f6e6669672f646f776e6c6f6164732e737667)](https://packagist.org/packages/kasseler/config)[![Latest Unstable Version](https://camo.githubusercontent.com/1bf6dea1bbf7773bcab4c14d8a01f0c343643bb43624c7c34a78e78b5a01f9f7/68747470733a2f2f706f7365722e707567782e6f72672f6b617373656c65722f636f6e6669672f762f756e737461626c652e737667)](https://packagist.org/packages/kasseler/config)[![License](https://camo.githubusercontent.com/6e59b30fa25ab7bb6cd9fb6474b5aec81c037b766b63c9d9d688b4d3306e22f8/68747470733a2f2f706f7365722e707567782e6f72672f6b617373656c65722f636f6e6669672f6c6963656e73652e737667)](https://packagist.org/packages/kasseler/config)

Config Component is a file configuration loader and saver that supports PHP, XML, JSON, and YAML files.

### Requirements

[](#requirements)

- PHP &gt;= 5.4
- symfony/yaml

### Installation

[](#installation)

```
$ composer require kasseler/config
```

### Usage

[](#usage)

Initialization Yaml configuration

```
$config = new Repository(new YamlFileReader(), new YamlFileWriter(), __DIR__.'/app/config/');
```

Initialization XML configuration

```
$config = new Repository(new XmlFileReader(), new XmlFileWriter(), __DIR__.'/app/config/');
```

Initialization JSON configuration

```
$config = new Repository(new JsonFileReader(), new JsonFileWriter(), __DIR__.'/app/config/');
```

Initialization PHP array configuration

```
$config = new Repository(new ArrayFileReader(), new ArrayFileWriter(), __DIR__.'/app/config/');

$config
    ->set('database.host', 'localhost')
    ->set('database.user', 'root')
    ->set('database.password', '')
    ->set('database.database', 'config')
    ->write();

$config->get('database.host');
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

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

Total

2

Last Release

4099d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/24ea64ad06776e5f6ad1e3d4e2bceb16dab50e52445699db7d6f942cd91de3eb?d=identicon)[kasseler](/maintainers/kasseler)

---

Top Contributors

[![RobinCK](https://avatars.githubusercontent.com/u/10226014?v=4)](https://github.com/RobinCK "RobinCK (9 commits)")

---

Tags

componentcomposerconfigphpconfigconfig writerconfig reader

### Embed Badge

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

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

###  Alternatives

[opensky/runtime-config-bundle

This bundle provides a way to inject parameters into services at runtime by exposing a RuntimeParameterBag service, which functions exactly like Symfony2's own ParameterBags.

10949.5k1](/packages/opensky-runtime-config-bundle)[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)
