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

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

objective-php/config
====================

Config component for ObjectivePHP

v3.0.1(6y ago)1125.4k↓29.5%1[1 issues](https://github.com/objective-php/config/issues)8GPL-3.0PHPPHP &gt;=7.3.0

Since Aug 16Pushed 6y ago5 watchersCompare

[ Source](https://github.com/objective-php/config)[ Packagist](https://packagist.org/packages/objective-php/config)[ Docs](https://github.com/objective-php/config)[ RSS](/packages/objective-php-config/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (14)Used By (8)

Objective PHP / Config [![Build Status](https://camo.githubusercontent.com/c65ae9213cc2a7a6180ef4a479cae0ee9290c0f6fc3e5d1fef072fcc2ae8d24e/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6f626a6563746976652d7068702f636f6e6669672e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/objective-php/config)
===============================================================================================================================================================================================================================================================================================================================

[](#objective-php--config-)

Project introduction
--------------------

[](#project-introduction)

Config provides developer with an easy way to set and load configuration directives in a project.

What's next?
------------

[](#whats-next)

Some more sanitiy checks will be needed, as well as, probably, some dedicated Mergers. But it's still quite usable as is.

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

[](#installation)

### Manual

[](#manual)

You can clone our Github repository by running:

```
git clone http://github.com/objective-php/config

```

If you're to proceed this way, you probably don't need more explanation about how to use the library :)

### Composer

[](#composer)

The easiest way to install the library and get ready to play with it is by using Composer. Run the following command in an empty folder you just created for Primitives:

```
composer require --dev objective-php/config:dev-master

```

Then, you can start coding using primitive classes by requiring Composer's `autoload.php` located in its `vendor` directory.

Hmm, before starting coding, please take the time to read this file till the end :)

How to test the work in progress?
---------------------------------

[](#how-to-test-the-work-in-progress)

### Run unit tests

[](#run-unit-tests)

First of all, before playing around with our config object, please always run the unit tests suite. Our tests are written using PHPUnit, and can be run as follow:

```
cd [clone directory]/tests
./phpunit .

```

TO BE CONTINUED

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Recently: every ~109 days

Total

13

Last Release

2525d ago

Major Versions

v0.9 → v1.0.02016-05-05

v1.0.6 → v2.0.22018-04-09

v2.0.1 → v3.0.02019-05-31

PHP version history (4 changes)v0.9PHP &gt;=5.6.0

v1.0.0PHP &gt;=7.0.0

v3.0.0PHP &gt;=7.1.0

v3.0.1PHP &gt;=7.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/35ff61d55f3f648d8c1046aac3892fba4781067c98c5cf7e364767f8ca033166?d=identicon)[gauthier](/maintainers/gauthier)

---

Top Contributors

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

---

Tags

configobjective php

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[symfony/options-resolver

Provides an improved replacement for the array\_replace PHP function

3.2k493.9M1.6k](/packages/symfony-options-resolver)[league/config

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

564302.2M24](/packages/league-config)[m1/env

Env is a lightweight library bringing .env file parser compatibility to PHP. In short - it enables you to read .env files with PHP.

6412.0M21](/packages/m1-env)

PHPackages © 2026

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