PHPackages                             spiral/core - 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/core

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

spiral/core
===========

IoC container, IoC scopes, factory, memory, configuration interfaces

3.16.1(2mo ago)187.4M↑13.8%620MITPHPPHP &gt;=8.1CI failing

Since Aug 24Pushed 2mo ago4 watchersCompare

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

READMEChangelog (10)Dependencies (5)Versions (108)Used By (20)

Spiral Core: Container, IoC scopes and InjectableConfigs
========================================================

[](#spiral-core-container-ioc-scopes-and-injectableconfigs)

[![PHP Version Require](https://camo.githubusercontent.com/499e067827ea0127b8d8f53666945a69e64c36f9c3aec89e3af22e5ec00df6e1/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f636f72652f726571756972652f706870)](https://packagist.org/packages/spiral/core)[![Latest Stable Version](https://camo.githubusercontent.com/32e01745feed113eb1273e8e26796a34dae1a9c1a5add57c6c5b2b85f652434f/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f636f72652f762f737461626c65)](https://packagist.org/packages/spiral/core)[![phpunit](https://github.com/spiral/core/actions/workflows/phpunit.yml/badge.svg)](https://github.com/spiral/core/actions)[![psalm](https://github.com/spiral/core/actions/workflows/psalm.yml/badge.svg)](https://github.com/spiral/core/actions)[![Codecov](https://camo.githubusercontent.com/f66a63899856eb10f86b62df57c212baff87c9a8bc6025f38b0abe592dbce8de/68747470733a2f2f636f6465636f762e696f2f67682f73706972616c2f636f72652f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/spiral/core/)[![Total Downloads](https://camo.githubusercontent.com/4f3be152ebc6f4520ff95546588012f2d2fca11b55822c0f8b63b3ebcdbc7d22/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f636f72652f646f776e6c6f616473)](https://packagist.org/packages/spiral/core)[![type-coverage](https://camo.githubusercontent.com/bfb9bc63fcbc81c7a8a410b34835765f00d257e0439373930a168763464e0dc9/68747470733a2f2f73686570686572642e6465762f6769746875622f73706972616c2f636f72652f636f7665726167652e737667)](https://shepherd.dev/github/spiral/core)[![psalm-level](https://camo.githubusercontent.com/d3e65591d8c2e095b52820ce9b3d24568b97de6ed9e78691100ab9f2dcc07701/68747470733a2f2f73686570686572642e6465762f6769746875622f73706972616c2f636f72652f6c6576656c2e737667)](https://shepherd.dev/github/spiral/core)[![](https://camo.githubusercontent.com/4442b73a11753b80fdd7b442ddbfaf8383902c8b9ffa66ed1718e8c62e102f2e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646973636f72642d636861742d6d6167656e74612e737667)](https://discord.gg/8bZsjYhVVk)

**[Documentation](https://spiral.dev/docs/framework-container)** | [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

69

—

FairBetter than 100% of packages

Maintenance83

Actively maintained with recent releases

Popularity55

Moderate usage in the ecosystem

Community38

Small or concentrated contributor base

Maturity87

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 93.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 ~26 days

Recently: every ~82 days

Total

105

Last Release

84d ago

Major Versions

v1.4.4 → v2.6.12020-09-02

2.14.1 → 3.0.02022-09-13

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

v1.4.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 (145 commits)")[![SerafimArts](https://avatars.githubusercontent.com/u/2461257?v=4)](https://github.com/SerafimArts "SerafimArts (41 commits)")[![vvval](https://avatars.githubusercontent.com/u/11367763?v=4)](https://github.com/vvval "vvval (14 commits)")[![roxblnfk](https://avatars.githubusercontent.com/u/4152481?v=4)](https://github.com/roxblnfk "roxblnfk (11 commits)")[![butschster](https://avatars.githubusercontent.com/u/773481?v=4)](https://github.com/butschster "butschster (8 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)")[![tuneyourserver](https://avatars.githubusercontent.com/u/7487510?v=4)](https://github.com/tuneyourserver "tuneyourserver (2 commits)")[![samsonasik](https://avatars.githubusercontent.com/u/459648?v=4)](https://github.com/samsonasik "samsonasik (2 commits)")[![R3VoLuT1OneR](https://avatars.githubusercontent.com/u/1111188?v=4)](https://github.com/R3VoLuT1OneR "R3VoLuT1OneR (2 commits)")[![MatthewHallCom](https://avatars.githubusercontent.com/u/1230091?v=4)](https://github.com/MatthewHallCom "MatthewHallCom (1 commits)")[![lex111](https://avatars.githubusercontent.com/u/4408379?v=4)](https://github.com/lex111 "lex111 (1 commits)")[![jwdeitch](https://avatars.githubusercontent.com/u/7282720?v=4)](https://github.com/jwdeitch "jwdeitch (1 commits)")[![nikolaev-dm](https://avatars.githubusercontent.com/u/52159053?v=4)](https://github.com/nikolaev-dm "nikolaev-dm (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)")

---

Tags

configurationcontainerdependency-injectionphp7

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[symfony/dependency-injection

Allows you to standardize and centralize the way objects are constructed in your application

4.2k431.1M7.5k](/packages/symfony-dependency-injection)[illuminate/contracts

The Illuminate Contracts package.

705122.9M10.1k](/packages/illuminate-contracts)[illuminate/container

The Illuminate Container package.

31178.1M2.0k](/packages/illuminate-container)[ecotone/ecotone

Supporting you in building DDD, CQRS, Event Sourcing applications with ease.

558549.8k17](/packages/ecotone-ecotone)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[internal/dload

Downloads binaries.

98142.7k10](/packages/internal-dload)

PHPackages © 2026

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