PHPackages                             pluf/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. pluf/di

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

pluf/di
=======

Pluf DI library

7.0.4(4y ago)12432GPL-3.0-with-GCC-exception

Since Oct 18Compare

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

READMEChangelogDependencies (2)Versions (8)Used By (2)

Pluf Dependecy Injection
========================

[](#pluf-dependecy-injection)

The goal of the Pluf Dependency Injection (DI) is to free a business developer from the responsibility for obtaining objects that they need for its operation (which is called (separation of concerns)\[[https://en.wikipedia.org/wiki/Separation\_of\_concerns](https://en.wikipedia.org/wiki/Separation_of_concerns)\]). Pluf DI is one of the most interesting parts of the framework. It is a compiled DI container, an important part of the platform which is used directly in routing and workflows.

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

[](#installation)

The recommended way to install is via Composer:

```
composer require pluf/di

```

It requires PHP version 7.2 and higher.

###  Health Score

28

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~42 days

Total

5

Last Release

1812d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7fdab409dd1ed29d1cd3651fddeacd6d10c79ee41b48dc84e04589ca28cb50ed?d=identicon)[mostafabarmshory](/maintainers/mostafabarmshory)

---

Top Contributors

[![mostafabarmshory](https://avatars.githubusercontent.com/u/6371551?v=4)](https://github.com/mostafabarmshory "mostafabarmshory (3 commits)")

---

Tags

dipluf

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[level-2/dice

A minimalist Dependency injection container (DIC) for PHP. Please note: 3.0+ is only compatible with PHP 7.0. The 2.0 branch is compatbile with PHP 5.6.

438712.4k16](/packages/level-2-dice)[hyperf/di

A DI for Hyperf.

182.8M508](/packages/hyperf-di)[marcelog/ding

PHP Dependency Injection based on Spring(tm), with Aspect Oriented Programming, MVC

1192.1k](/packages/marcelog-ding)

PHPackages © 2026

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