PHPackages                             piotrpress/configer - 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. piotrpress/configer

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

piotrpress/configer
===================

This library loads/saves php array from/to a configuration file.

v2.0.0(3y ago)03591MITPHPPHP &gt;=8.0

Since Sep 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/PiotrPress/configer)[ Packagist](https://packagist.org/packages/piotrpress/configer)[ Docs](https://github.com/PiotrPress/configer)[ RSS](/packages/piotrpress-configer/feed)WikiDiscussions 2.x Synced today

READMEChangelogDependenciesVersions (6)Used By (1)

Configer
========

[](#configer)

This library loads/saves php array from/to a configuration file.

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

[](#installation)

```
$ composer require piotrpress/configer
```

Usage
-----

[](#usage)

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

use PiotrPress\Configer;

$config = new Configer( '.config', [
    'key' => 'value'
] );

echo $config[ 'key' ];
$config[ 'key' ] = 'new_value';

$config->save();
```

Requirements
------------

[](#requirements)

- Branch `2.x` supports PHP &gt;= `8.0` version.
- Branch `1.x` supports PHP ^`7.4` version.

License
-------

[](#license)

[MIT](license.txt)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

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

Every ~41 days

Recently: every ~51 days

Total

6

Last Release

1176d ago

Major Versions

v1.0.2 → 2.x-dev2023-04-13

PHP version history (3 changes)v1.0.0PHP &gt;=7.4

1.x-devPHP ^7.4

2.x-devPHP &gt;=8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10326736?v=4)[Piotr Niewiadomski](/maintainers/PiotrPress)[@PiotrPress](https://github.com/PiotrPress)

---

Top Contributors

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

---

Tags

arrayarrayaccessarrayobjectconfigconfig-fileconfigerconfigurationconfiguration-filephpconfigurationarrayconfigArray objectarray-accessconfig fileconfiguration fileconfiger

### Embed Badge

![Health badge](/badges/piotrpress-configer/health.svg)

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

###  Alternatives

[league/config

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

565335.0M36](/packages/league-config)[symfony/options-resolver

Provides an improved replacement for the array\_replace PHP function

3.2k525.7M2.0k](/packages/symfony-options-resolver)[grasmash/expander

Expands internal property references in PHP arrays.

14064.3M10](/packages/grasmash-expander)[illuminatech/array-factory

Allows DI aware object creation from array definition

2266.2k6](/packages/illuminatech-array-factory)[romanpitak/nginx-config-processor

Nginx configuration files processor.

6935.9k1](/packages/romanpitak-nginx-config-processor)[michaels/data-manager

Simple data manager for nested data, dot notation array access, extendability, and container interoperability.

132.0k2](/packages/michaels-data-manager)

PHPackages © 2026

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