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

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

spiral/config
=============

Config injector and configuration mutator

3.16.1(2mo ago)299.4k↓20.4%120MITPHPPHP &gt;=8.1CI failing

Since Sep 14Pushed 2mo ago4 watchersCompare

[ Source](https://github.com/spiral/config)[ Packagist](https://packagist.org/packages/spiral/config)[ Docs](https://spiral.dev)[ GitHub Sponsors](https://github.com/sponsors/spiral)[ RSS](/packages/spiral-config/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (4)Versions (94)Used By (20)

Config injector and configuration mutator
=========================================

[](#config-injector-and-configuration-mutator)

[![PHP Version Require](https://camo.githubusercontent.com/06d6fe3e131568d6df693a5b932bb4585e38607108ae76e30e754df6b94a6c3a/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f636f6e6669672f726571756972652f706870)](https://packagist.org/packages/spiral/config)[![Latest Stable Version](https://camo.githubusercontent.com/59f8202ca0fb8f606d8624f74af93eb6f52d33979dfcb24aa68490ce75a24f1d/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f636f6e6669672f762f737461626c65)](https://packagist.org/packages/spiral/config)[![phpunit](https://github.com/spiral/config/actions/workflows/phpunit.yml/badge.svg)](https://github.com/spiral/config/actions)[![psalm](https://github.com/spiral/config/actions/workflows/psalm.yml/badge.svg)](https://github.com/spiral/config/actions)[![Codecov](https://camo.githubusercontent.com/f06b23113ff460e961f46da5d5cecc5390f56e634c5f612fcf5b057d738d0d70/68747470733a2f2f636f6465636f762e696f2f67682f73706972616c2f636f6e6669672f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/spiral/config/)[![Total Downloads](https://camo.githubusercontent.com/eec7735f94569256916b059d2b0cc18024823df8bc213d28d47eb430f9e23e3d/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f636f6e6669672f646f776e6c6f616473)](https://packagist.org/packages/spiral/config)[![type-coverage](https://camo.githubusercontent.com/ef183273c516a982e1dec334ca3b0261b5f5c146f9155c87597bada678c6d108/68747470733a2f2f73686570686572642e6465762f6769746875622f73706972616c2f636f6e6669672f636f7665726167652e737667)](https://shepherd.dev/github/spiral/config)[![psalm-level](https://camo.githubusercontent.com/4e7b5f6a41e11e0c36aeae8385b82d750767a80e6e3b00822333decc55afe9c7/68747470733a2f2f73686570686572642e6465762f6769746875622f73706972616c2f636f6e6669672f6c6576656c2e737667)](https://shepherd.dev/github/spiral/config)[![](https://camo.githubusercontent.com/4442b73a11753b80fdd7b442ddbfaf8383902c8b9ffa66ed1718e8c62e102f2e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646973636f72642d636861742d6d6167656e74612e737667)](https://discord.gg/8bZsjYhVVk)

**[Documentation](https://spiral.dev/docs/framework-config)** | [Framework Bundle](https://github.com/spiral/framework)

License:
--------

[](#license)

MIT License (MIT). Please see [`LICENSE`](./LICENSE) for more information. Maintained by [Spiral Scout](https://spiralscout.com).

###  Health Score

62

—

FairBetter than 99% of packages

Maintenance83

Actively maintained with recent releases

Popularity35

Limited adoption so far

Community33

Small or concentrated contributor base

Maturity87

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 94.4% 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 ~30 days

Recently: every ~82 days

Total

91

Last Release

84d ago

Major Versions

v1.2.0 → v2.6.02020-08-24

2.14.1 → 3.0.02022-09-13

PHP version history (5 changes)v1.0.0PHP ^7.1

v1.2.0PHP ^7.2

2.7.0PHP &gt;=7.2

2.10.0PHP &gt;=7.4

3.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/796136?v=4)[Anton Tsitou](/maintainers/wolfy-j)[@wolfy-j](https://github.com/wolfy-j)

---

Top Contributors

[![wolfy-j](https://avatars.githubusercontent.com/u/796136?v=4)](https://github.com/wolfy-j "wolfy-j (3447 commits)")[![spiralbot](https://avatars.githubusercontent.com/u/100867204?v=4)](https://github.com/spiralbot "spiralbot (122 commits)")[![SerafimArts](https://avatars.githubusercontent.com/u/2461257?v=4)](https://github.com/SerafimArts "SerafimArts (43 commits)")[![vvval](https://avatars.githubusercontent.com/u/11367763?v=4)](https://github.com/vvval "vvval (16 commits)")[![alexndr-novikov](https://avatars.githubusercontent.com/u/7372962?v=4)](https://github.com/alexndr-novikov "alexndr-novikov (4 commits)")[![rauanmayemir](https://avatars.githubusercontent.com/u/9691?v=4)](https://github.com/rauanmayemir "rauanmayemir (4 commits)")[![butschster](https://avatars.githubusercontent.com/u/773481?v=4)](https://github.com/butschster "butschster (3 commits)")[![roxblnfk](https://avatars.githubusercontent.com/u/4152481?v=4)](https://github.com/roxblnfk "roxblnfk (2 commits)")[![tuneyourserver](https://avatars.githubusercontent.com/u/7487510?v=4)](https://github.com/tuneyourserver "tuneyourserver (2 commits)")[![R3VoLuT1OneR](https://avatars.githubusercontent.com/u/1111188?v=4)](https://github.com/R3VoLuT1OneR "R3VoLuT1OneR (2 commits)")[![jwdeitch](https://avatars.githubusercontent.com/u/7282720?v=4)](https://github.com/jwdeitch "jwdeitch (1 commits)")[![jdrieghe](https://avatars.githubusercontent.com/u/12606789?v=4)](https://github.com/jdrieghe "jdrieghe (1 commits)")[![ncou](https://avatars.githubusercontent.com/u/16743322?v=4)](https://github.com/ncou "ncou (1 commits)")[![MatthewHallCom](https://avatars.githubusercontent.com/u/1230091?v=4)](https://github.com/MatthewHallCom "MatthewHallCom (1 commits)")[![nikolaev-dm](https://avatars.githubusercontent.com/u/52159053?v=4)](https://github.com/nikolaev-dm "nikolaev-dm (1 commits)")[![samsonasik](https://avatars.githubusercontent.com/u/459648?v=4)](https://github.com/samsonasik "samsonasik (1 commits)")[![lex111](https://avatars.githubusercontent.com/u/4408379?v=4)](https://github.com/lex111 "lex111 (1 commits)")

---

Tags

configconfiguratorphp7spiral

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

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

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

PHPackages © 2026

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