PHPackages                             swichers/configuration-framework - 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. swichers/configuration-framework

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

swichers/configuration-framework
================================

Configuration helper package for loading of environment and platform specific configuration files of different formats.

1.1(11y ago)016Apache-2.0PHPPHP &gt;=5.3.0

Since Apr 3Pushed 11y ago2 watchersCompare

[ Source](https://github.com/swichers/configuration-framework)[ Packagist](https://packagist.org/packages/swichers/configuration-framework)[ RSS](/packages/swichers-configuration-framework/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Configuration wrapper
=====================

[](#configuration-wrapper)

Allows easily reading a site's configuration through the use of a `*Config()`wrapper class. It can work on multiple platforms and environments.

This came about from the need to support multiple different platforms, environments, and configuration setups across different project types. I wanted a singular way to work with these different setups instead of having something custom for each platform and project type.

Basic example:
--------------

[](#basic-example)

```
require 'path/to/composer/autoload.php';

use StevenWichers\Configuration\JSONConfig;

$config = new JSONConfig();
$fqdn = $config->getConfigItem('fqdn')->getValue();

```

See `example.php` in the examples folder for more usage examples.

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

[](#installation)

### Using Composer (recommended)

[](#using-composer-recommended)

Installation using [composer](https://getcomposer.org/) is very straightforward. You must add the repository as an entry in your composer.json, as well as requiring the project. A complete composer.json that only includes this project would look like this:

```
{
  "repositories": [
    {
      "url": "https://github.com/swichers/configuration-framework.git",
      "type": "git"
    }
  ],
  "require": {
    "swichers/configuration-framework": "1.*@stable"
  }
}

```

After your composer.json file has been created or updated, you would issue a `composer install` command. The final step is adding the composer autoloader to your project:

```
require 'path/to/vendor/autoload.php';

```

### Other

[](#other)

You can clone this repository to your project and include the classes directly. This project relies on a proper PSR-0/PSR-4 compliant autoloader being configured, but otherwise does not leverage any of the other composer features at this time.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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

4063d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7cec1c45e8c4507ce2911a0dcaad40def3e34cd8e0935aa227991fa30069a7fc?d=identicon)[swichers](/maintainers/swichers)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/swichers-configuration-framework/health.svg)

```
[![Health](https://phpackages.com/badges/swichers-configuration-framework/health.svg)](https://phpackages.com/packages/swichers-configuration-framework)
```

###  Alternatives

[roots/bedrock

WordPress boilerplate with Composer, easier configuration, and an improved folder structure

6.5k441.8k2](/packages/roots-bedrock)[akaunting/laravel-money

Currency formatting and conversion package for Laravel

7825.3M18](/packages/akaunting-laravel-money)[cognesy/instructor-php

The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control

310107.9k1](/packages/cognesy-instructor-php)[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

41716.4k2](/packages/lullabot-drainpipe)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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