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

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

ingenerator/config
==================

Useful extensions to the kohana config system, including for loading deployment config from a JSON

v1.1.0(4y ago)013.1kBSD-3-ClausePHPPHP ^7.4 || ~8.0.0

Since Mar 14Pushed 4y ago2 watchersCompare

[ Source](https://github.com/ingenerator/configuration)[ Packagist](https://packagist.org/packages/ingenerator/config)[ Docs](https://github.com/ingenerator/configuration)[ RSS](/packages/ingenerator-config/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (7)Dependencies (4)Versions (8)Used By (0)

Config - Useful extensions to the kohana config system, including for loading deployment config from a JSON
===========================================================================================================

[](#config---useful-extensions-to-the-kohana-config-system-including-for-loading-deployment-config-from-a-json)

Config is a small set of classes that add useful functionality to the kohana config system. It includes a JSON config reader, and a config initialiser that wraps up the process of loading all config files to make it easier to reload config during build etc and reduce the size of your bootstrap.

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

[](#installation)

Add config to your composer.json and run `composer update` to install it.

```
{
  "require": { "ingenerator/config": "0.1.*@dev" }
}
```

Basic Usage
-----------

[](#basic-usage)

In your bootstrap:

```
/**
 * Enable the composer autoloader
 */
require_once(__DIR__.'/../vendor/autoload.php');

\Ingenerator\Config\ConfigInitialiser::initialise(Kohana::$config);
```

To override the source control config (for example to allow for different database or service credentials in different environments) just drop a JSON file with the extra config at APPPATH.'/config/deployment\_config\_overrides.json'.

You can also provide simple user-overridable config by dropping a second JSON at APPPATH.'/config/user\_config\_overrides.json'.

Testing and developing
----------------------

[](#testing-and-developing)

config has a full suite of [PhpSpec](http://phpspec.net) specifications. You'll need a skeleton Kohana application to run them, you can use [koharness](https://github.com/ingenerator/koharness) to create one.

Contributions will only be accepted if they are accompanied by well structured specs. Installing with composer should get you everything you need to work on the project.

License
-------

[](#license)

config is copyright 2014 inGenerator Ltd and released under the [BSD license](LICENSE).

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 54.5% 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 ~455 days

Recently: every ~669 days

Total

7

Last Release

1711d ago

Major Versions

v0.1.4 → v1.0.02019-04-03

PHP version history (4 changes)v0.1.0PHP &gt;=5.3.3

v0.1.4PHP ^5.5||^7.0

v1.0.0PHP ^7.2

v1.1.0PHP ^7.4 || ~8.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/f6ebcc608a86cec9a3ce7a4932994e2b89fabbfcdde69aff43e8139f34e07a5e?d=identicon)[acoulton](/maintainers/acoulton)

---

Top Contributors

[![acoulton](https://avatars.githubusercontent.com/u/416566?v=4)](https://github.com/acoulton "acoulton (12 commits)")[![craig410](https://avatars.githubusercontent.com/u/1156379?v=4)](https://github.com/craig410 "craig410 (10 commits)")

---

Tags

configkohana

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/ingenerator-config/health.svg)](https://phpackages.com/packages/ingenerator-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)[dflydev/dot-access-configuration

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

13414.5M4](/packages/dflydev-dot-access-configuration)[akaunting/laravel-setting

Persistent settings package for Laravel

495805.1k7](/packages/akaunting-laravel-setting)[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)
