PHPackages                             puff/di - 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. puff/di

ActiveLibrary

puff/di
=======

Fast, Fiber-aware dependency injection container

00PHP

Since Aug 8Pushed todayCompare

[ Source](https://github.com/php-puff/di)[ Packagist](https://packagist.org/packages/puff/di)[ RSS](/packages/puff-di/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Puff DI
=======

[](#puff-di)

`puff/di` light PSR-11 support php fiber scope discover inject container

```
$container = new Puff\Di\Container();
$container->singleton(Database::class);
$service = $container->make(UserService::class);
```

support autoload inject container single to course prase callback and with array access facade with fiber

###  Health Score

20

—

LowBetter than 12% of packages

Maintenance65

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

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

---

Top Contributors

[![dcto](https://avatars.githubusercontent.com/u/5618679?v=4)](https://github.com/dcto "dcto (2 commits)")

### Embed Badge

![Health badge](/badges/puff-di/health.svg)

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

PHPackages © 2026

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