/di

Joomla Framework DI Package

Primary LanguagePHPGNU General Public License v2.0GPL-2.0

The DI Package Build Status

Latest Stable Version Total Downloads Latest Unstable Version License

The Joomla! Dependency Injection package provides a powerful PSR-11 compatible Inversion of Control (IoC) Container for your application.

Requirements

  • PHP 8.1 or later

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"