PHPackages                             elazar/auryn-configuration - 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. elazar/auryn-configuration

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

elazar/auryn-configuration
==========================

Modularized configurations for the Auryn dependency injector

1.0.0(10y ago)22561MIT

Since Jun 26Compare

[ Source](https://github.com/elazar/auryn-configuration)[ Packagist](https://packagist.org/packages/elazar/auryn-configuration)[ RSS](/packages/elazar-auryn-configuration/feed)WikiDiscussions Synced yesterday

READMEChangelog (1)Dependencies (2)Versions (2)Used By (1)

elazar/auryn-configuration
==========================

[](#elazarauryn-configuration)

[![Build Status](https://camo.githubusercontent.com/02ceb6d84c9db8cd1d0c3169d87dc9659ed1ecbfeb6e38f7a2fe85357b873797/68747470733a2f2f7472617669732d63692e6f72672f656c617a61722f617572796e2d636f6e66696775726174696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/elazar/auryn-configuration)

Modularized configurations for the [Auryn](https://github.com/rdlowrey/Auryn) dependency injector

License
-------

[](#license)

This library is licensed under the [MIT License](https://opensource.org/licenses/MIT).

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

[](#installation)

Use [composer](https://getcomposer.org/).

```
composer require elazar/auryn-configuration

```

Usage
-----

[](#usage)

Individual configurations are defined like so:

```
use Auryn\Injector;
use Elazar\Auryn\Configuration\ConfigurationInterface;

class FooConfiguration implements ConfigurationInterface
{
    public function __invoke(Injector $injector)
    {
        // ...
    }
}
```

These configurations can be grouped into reusable sets like so:

```
use Elazar\Auryn\Configuration\ConfigurationSet;

class AcmeConfigurationSet extends ConfigurationSet
{
    public function __construct()
    {
        parent::__construct([
            FooConfiguration::class,
            BarConfiguration::class,
            // ...
        ]);
    }
}
```

Individual configurations and configuration sets are applied to injectors in the same way:

```
$injector = new Injector;

$configuration = $injector->make(FooConfiguration::class);
$configuration($injector);

$set = $injector->make(AcmeConfigurationSet::clss);
$set($injector);
```

Development
-----------

[](#development)

To run the PHPUnit test suite:

```
composer run-script test

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

3657d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/80dec604abed1b21daafc54c430468444a2ad163ad5f8229348b8d241b797778?d=identicon)[elazar](/maintainers/elazar)

---

Tags

configurationdependency-injectionauryn

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/elazar-auryn-configuration/health.svg)

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

###  Alternatives

[symfony/options-resolver

Provides an improved replacement for the array\_replace PHP function

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

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

565323.7M35](/packages/league-config)[php-di/invoker

Generic and extensible callable invoker

26762.3M66](/packages/php-di-invoker)[grasmash/expander

Expands internal property references in PHP arrays.

14064.3M10](/packages/grasmash-expander)[chillerlan/php-settings-container

A container class for immutable settings objects. Not a DI container.

3435.1M22](/packages/chillerlan-php-settings-container)[michaels/data-manager

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

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

PHPackages © 2026

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