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

AbandonedArchivedLibrary

brick/di
========

Dependency injection and IoC framework

0.4.2(1y ago)93.1k↓100%1[1 issues](https://github.com/brick/di/issues)1MITPHPPHP ^8.0

Since Oct 4Pushed 1y ago1 watchersCompare

[ Source](https://github.com/brick/di)[ Packagist](https://packagist.org/packages/brick/di)[ RSS](/packages/brick-di/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (14)Used By (1)

Brick\\DI
=========

[](#brickdi)

[![](https://raw.githubusercontent.com/brick/brick/master/logo.png)](https://raw.githubusercontent.com/brick/brick/master/logo.png)

A Dependency Injection and Inversion Of Control framework for PHP 8.

[![Build Status](https://github.com/brick/di/workflows/CI/badge.svg)](https://github.com/brick/di/actions)[![Coverage Status](https://camo.githubusercontent.com/dadc914c4f64f73528964fd6eb2cf6c096d3731dd6ec63f3cbf70e83f872deb6/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f627269636b2f64692f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/brick/di?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/7f45a7642de4a2a8a94565581a11e1c6a0377fcc1084e0dcf8c2d72a117df4f6/68747470733a2f2f706f7365722e707567782e6f72672f627269636b2f64692f762f737461626c65)](https://packagist.org/packages/brick/di)[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](http://opensource.org/licenses/MIT)

Introduction
------------

[](#introduction)

To be written.

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

[](#installation)

This library is installable via [Composer](https://getcomposer.org/):

```
composer require brick/di
```

Requirements
------------

[](#requirements)

This library requires PHP 8.0 or later.

###  Health Score

38

—

LowBetter than 84% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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 ~220 days

Recently: every ~380 days

Total

13

Last Release

495d ago

PHP version history (3 changes)0.1.0PHP &gt;=7.1

0.3.0PHP &gt;=7.2

0.4.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/57189121968030f0770811b461cc92f9c19c08f5c4767292f2ede48b7277cfad?d=identicon)[BenMorel](/maintainers/BenMorel)

---

Top Contributors

[![BenMorel](https://avatars.githubusercontent.com/u/1952838?v=4)](https://github.com/BenMorel "BenMorel (127 commits)")

---

Tags

dependency-injectioniocioc-containerphpbrickdependency-injectiondiiocinversion of control

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[php-di/php-di

The dependency injection container for humans

2.8k48.9M991](/packages/php-di-php-di)[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.

437730.3k17](/packages/level-2-dice)[mouf/mouf

The Mouf PHP framework: an open-source PHP framework providing an easy way to download, install, use and reuse components, with a graphical user interface.

55146.0k17](/packages/mouf-mouf)[capsule/di

A PSR-11 compliant autowiring dependency injection container.

2857.5k2](/packages/capsule-di)[slince/di

A flexible dependency injection container

20260.4k6](/packages/slince-di)[joomla/di

Joomla DI Package

15391.2k11](/packages/joomla-di)

PHPackages © 2026

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