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)03561MITPHPPHP &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 1mo ago

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 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

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

1131d 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

564302.2M24](/packages/league-config)[symfony/options-resolver

Provides an improved replacement for the array\_replace PHP function

3.2k493.9M1.6k](/packages/symfony-options-resolver)[dflydev/dot-access-configuration

Given a deep data structure representing a configuration, access configuration by dot notation.

13414.5M4](/packages/dflydev-dot-access-configuration)[jbzoo/data

An extended version of the ArrayObject object for working with system settings or just for working with data arrays

891.6M23](/packages/jbzoo-data)[illuminatech/array-factory

Allows DI aware object creation from array definition

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

Nginx configuration files processor.

7235.3k1](/packages/romanpitak-nginx-config-processor)

PHPackages © 2026

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