PHPackages                             spiral/prototype - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. spiral/prototype

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

spiral/prototype
================

Automatic dependency injection

3.17.0(1mo ago)330.4k11MITPHPPHP &gt;=8.1CI failing

Since Nov 3Pushed 2w ago4 watchersCompare

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

READMEChangelog (10)Dependencies (30)Versions (101)Used By (1)

Automatic dependency injection using AST
========================================

[](#automatic-dependency-injection-using-ast)

[![PHP Version Require](https://camo.githubusercontent.com/6d718cb81a07ae5e080cf29a55c56a1accfd0a210aa0c153b15d16ce8d6defbb/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f70726f746f747970652f726571756972652f706870)](https://packagist.org/packages/spiral/prototype)[![Latest Stable Version](https://camo.githubusercontent.com/3b9f052bf544356092f62b6fbf330e98246c9438f69d49be4a6065b5b68acd86/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f70726f746f747970652f762f737461626c65)](https://packagist.org/packages/spiral/prototype)[![phpunit](https://github.com/spiral/prototype/actions/workflows/phpunit.yml/badge.svg)](https://github.com/spiral/prototype/actions)[![psalm](https://github.com/spiral/prototype/actions/workflows/psalm.yml/badge.svg)](https://github.com/spiral/prototype/actions)[![Codecov](https://camo.githubusercontent.com/fe7fe295d920a038eab1bc313ed2af7a1a156b706bae5aa6da68e554f5c2bcca/68747470733a2f2f636f6465636f762e696f2f67682f73706972616c2f70726f746f747970652f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/spiral/prototype/)[![Total Downloads](https://camo.githubusercontent.com/e17e820761ebec531d8f4cd0758350f1627a13f759167a9e4ce0fe4d808197ff/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f70726f746f747970652f646f776e6c6f616473)](https://packagist.org/packages/spiral/prototype)[![type-coverage](https://camo.githubusercontent.com/38410516de94480cfb83a35b842effa69515c203769c12ae762c7e57152e828f/68747470733a2f2f73686570686572642e6465762f6769746875622f73706972616c2f70726f746f747970652f636f7665726167652e737667)](https://shepherd.dev/github/spiral/prototype)[![psalm-level](https://camo.githubusercontent.com/51650c4f5c9f2a5032d62628278728d0040027a35001732e2ac5f4db401c86ed/68747470733a2f2f73686570686572642e6465762f6769746875622f73706972616c2f70726f746f747970652f6c6576656c2e737667)](https://shepherd.dev/github/spiral/prototype)[![](https://camo.githubusercontent.com/4442b73a11753b80fdd7b442ddbfaf8383902c8b9ffa66ed1718e8c62e102f2e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646973636f72642d636861742d6d6167656e74612e737667)](https://discord.gg/8bZsjYhVVk)

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

Maintenance95

Actively maintained with recent releases

Popularity31

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity87

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 77.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 ~29 days

Recently: every ~101 days

Total

97

Last Release

30d ago

Major Versions

v1.2.1 → 2.7.02020-12-21

2.14.1 → 3.0.02022-09-13

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

v1.0.12PHP ^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

[![spiralbot](https://avatars.githubusercontent.com/u/100867204?v=4)](https://github.com/spiralbot "spiralbot (124 commits)")[![SerafimArts](https://avatars.githubusercontent.com/u/2461257?v=4)](https://github.com/SerafimArts "SerafimArts (25 commits)")[![butschster](https://avatars.githubusercontent.com/u/773481?v=4)](https://github.com/butschster "butschster (6 commits)")[![roxblnfk](https://avatars.githubusercontent.com/u/4152481?v=4)](https://github.com/roxblnfk "roxblnfk (3 commits)")[![msmakouz](https://avatars.githubusercontent.com/u/67324318?v=4)](https://github.com/msmakouz "msmakouz (1 commits)")[![samsonasik](https://avatars.githubusercontent.com/u/459648?v=4)](https://github.com/samsonasik "samsonasik (1 commits)")

---

Tags

astdependency-analysisdependency-injectionphp7spiral

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[spiral/framework

Spiral, High-Performance PHP/Go Framework

2.1k2.2M66](/packages/spiral-framework)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k51.2M337](/packages/api-platform-core)[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

136406.3k14](/packages/rector-rector-src)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[api-platform/metadata

API Resource-oriented metadata attributes and factories

275.0M218](/packages/api-platform-metadata)

PHPackages © 2026

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