PHPackages                             joomla/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. [Framework](/categories/framework)
4. /
5. joomla/di

ActiveJoomla-package[Framework](/categories/framework)

joomla/di
=========

Joomla DI Package

4.0.0(11mo ago)15433.2k↑62.8%19[3 issues](https://github.com/joomla-framework/di/issues)[1 PRs](https://github.com/joomla-framework/di/pulls)11GPL-2.0-or-laterPHPPHP ^8.3.0CI failing

Since Aug 16Pushed 11mo ago14 watchersCompare

[ Source](https://github.com/joomla-framework/di)[ Packagist](https://packagist.org/packages/joomla/di)[ Docs](https://github.com/joomla-framework/di)[ RSS](/packages/joomla-di/feed)WikiDiscussions 3.x-dev Synced 2d ago

READMEChangelog (6)Dependencies (7)Versions (25)Used By (11)

The DI Package [![Build Status](https://github.com/joomla-framework/di/actions/workflows/ci.yml/badge.svg?branch=3.x-dev)](https://github.com/joomla-framework/di)
==================================================================================================================================================================

[](#the-di-package-)

[![Latest Stable Version](https://camo.githubusercontent.com/9e60a67920046215f11a25f0f20e3b3e309bcfecf40bb99227234d346d217e48/68747470733a2f2f706f7365722e707567782e6f72672f6a6f6f6d6c612f64692f762f737461626c65)](https://packagist.org/packages/joomla/di)[![Total Downloads](https://camo.githubusercontent.com/91fdfe741bed37dd927f02b0d47de5726d4c6741d17e1327519ad16ae4e42bdf/68747470733a2f2f706f7365722e707567782e6f72672f6a6f6f6d6c612f64692f646f776e6c6f616473)](https://packagist.org/packages/joomla/di)[![Latest Unstable Version](https://camo.githubusercontent.com/e3b373148665bd0103ffc82ff7b95ce8617bbc0c8c28bb5c2f8d1c7d44ea6422/68747470733a2f2f706f7365722e707567782e6f72672f6a6f6f6d6c612f64692f762f756e737461626c65)](https://packagist.org/packages/joomla/di)[![License](https://camo.githubusercontent.com/2f949b6bfa130730fce64fa6b334367a38eef5e48fc499f9326f29f9413b8589/68747470733a2f2f706f7365722e707567782e6f72672f6a6f6f6d6c612f64692f6c6963656e7365)](https://packagist.org/packages/joomla/di)

The Joomla! **Dependency Injection** package provides a powerful [PSR-11](http://www.php-fig.org/psr/psr-11/) compatible Inversion of Control (IoC) Container for your application.

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

[](#requirements)

- PHP 8.1 or later

Installation via Composer
-------------------------

[](#installation-via-composer)

Add `"joomla/di": "~3.0"` to the require block in your composer.json and then run `composer install`.

```
{
	"require": {
		"joomla/di": "~3.0"
	}
}
```

Alternatively, you can simply run the following from the command line:

```
composer require joomla/di "~3.0"
```

If you want to include the test sources and docs, use

```
composer require --prefer-source joomla/di "~3.0"
```

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance47

Moderate activity, may be stable

Popularity47

Moderate usage in the ecosystem

Community39

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~164 days

Total

21

Last Release

344d ago

Major Versions

1.5.1 → 2.0.0-beta2020-06-05

2.0.1 → 3.0.02023-10-06

3.1.1 → 4.0.02025-07-24

PHP version history (7 changes)1.0-betaPHP &gt;=5.3.10

1.4.0PHP ^5.3.10|~7.0

2.0.0-betaPHP ^7.2.5

2.0.0PHP ^7.2.5|~8

2.0.1PHP ^7.2.5|~8.0.0|~8.1.0

3.0.0PHP ^8.1.0

4.0.0PHP ^8.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/305a2164440014dcef9ac681c139fe5e8a1ce1d7a8c3b3cfb828497729a4c70e?d=identicon)[wilsonge](/maintainers/wilsonge)

![](https://avatars.githubusercontent.com/u/42966168?v=4)[Release-Joomla](/maintainers/release-joomla)[@release-joomla](https://github.com/release-joomla)

![](https://avatars.githubusercontent.com/u/313866?v=4)[Hannes Papenberg](/maintainers/Hackwar)[@Hackwar](https://github.com/Hackwar)

---

Top Contributors

[![mbabker](https://avatars.githubusercontent.com/u/368545?v=4)](https://github.com/mbabker "mbabker (125 commits)")[![dongilbert](https://avatars.githubusercontent.com/u/718028?v=4)](https://github.com/dongilbert "dongilbert (39 commits)")[![nibra](https://avatars.githubusercontent.com/u/827605?v=4)](https://github.com/nibra "nibra (36 commits)")[![Hackwar](https://avatars.githubusercontent.com/u/313866?v=4)](https://github.com/Hackwar "Hackwar (29 commits)")[![wilsonge](https://avatars.githubusercontent.com/u/1986000?v=4)](https://github.com/wilsonge "wilsonge (11 commits)")[![frankmayer](https://avatars.githubusercontent.com/u/825497?v=4)](https://github.com/frankmayer "frankmayer (10 commits)")[![piotr-cz](https://avatars.githubusercontent.com/u/612953?v=4)](https://github.com/piotr-cz "piotr-cz (5 commits)")[![Fedik](https://avatars.githubusercontent.com/u/1568198?v=4)](https://github.com/Fedik "Fedik (4 commits)")[![richard67](https://avatars.githubusercontent.com/u/7413183?v=4)](https://github.com/richard67 "richard67 (4 commits)")[![eddieajau](https://avatars.githubusercontent.com/u/700871?v=4)](https://github.com/eddieajau "eddieajau (4 commits)")[![heelc29](https://avatars.githubusercontent.com/u/66922325?v=4)](https://github.com/heelc29 "heelc29 (3 commits)")[![joomla-jenkins](https://avatars.githubusercontent.com/u/929228?v=4)](https://github.com/joomla-jenkins "joomla-jenkins (2 commits)")[![phproberto](https://avatars.githubusercontent.com/u/1119272?v=4)](https://github.com/phproberto "phproberto (2 commits)")[![laoneo](https://avatars.githubusercontent.com/u/251072?v=4)](https://github.com/laoneo "laoneo (1 commits)")[![Bilge](https://avatars.githubusercontent.com/u/470626?v=4)](https://github.com/Bilge "Bilge (1 commits)")[![brianteeman](https://avatars.githubusercontent.com/u/1296369?v=4)](https://github.com/brianteeman "brianteeman (1 commits)")[![javigomez](https://avatars.githubusercontent.com/u/1375475?v=4)](https://github.com/javigomez "javigomez (1 commits)")[![ahamed](https://avatars.githubusercontent.com/u/5783354?v=4)](https://github.com/ahamed "ahamed (1 commits)")[![PhilETaylor](https://avatars.githubusercontent.com/u/400092?v=4)](https://github.com/PhilETaylor "PhilETaylor (1 commits)")[![photodude](https://avatars.githubusercontent.com/u/10253980?v=4)](https://github.com/photodude "photodude (1 commits)")

---

Tags

dependency-injectiondi-containerjoomlajoomla-frameworkphpcontainerframeworkdependency-injectiondiiocjoomla

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[symfony/dependency-injection

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

4.2k455.6M9.6k](/packages/symfony-dependency-injection)[api-platform/core

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

2.6k51.2M339](/packages/api-platform-core)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M421](/packages/drupal-core-recommended)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M203](/packages/sulu-sulu)

PHPackages © 2026

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