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(5y ago)1260[3 issues](https://github.com/pluf/di/issues)3GPL-3.0-with-GCC-exceptionPHP

Since Oct 18Pushed 5y ago3 watchersCompare

[ 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 main Synced 3w ago

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

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

24

—

LowBetter than 31% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity59

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

1906d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6371551?v=4)[Mostafa Barmshory](/maintainers/mostafabarmshory)[@mostafabarmshory](https://github.com/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

[symfony/dependency-injection

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

4.2k447.1M9.0k](/packages/symfony-dependency-injection)[illuminate/contracts

The Illuminate Contracts package.

706127.7M12.6k](/packages/illuminate-contracts)[illuminate/container

The Illuminate Container package.

31180.7M2.3k](/packages/illuminate-container)[symfony/type-info

Extracts PHP types information.

20062.9M225](/packages/symfony-type-info)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

562565.8k42](/packages/ecotone-ecotone)[civicrm/civicrm-core

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

749284.3k35](/packages/civicrm-civicrm-core)

PHPackages © 2026

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