https://github.com/joomla-framework/di
Joomla Framework DI Package
https://github.com/joomla-framework/di
dependency-injection di-container joomla joomla-framework php
Last synced: 13 days ago
JSON representation
Joomla Framework DI Package
- Host: GitHub
- URL: https://github.com/joomla-framework/di
- Owner: joomla-framework
- License: gpl-2.0
- Created: 2013-08-15T23:29:55.000Z (over 11 years ago)
- Default Branch: 3.x-dev
- Last Pushed: 2025-03-29T21:10:24.000Z (28 days ago)
- Last Synced: 2025-04-13T00:42:20.196Z (13 days ago)
- Topics: dependency-injection, di-container, joomla, joomla-framework, php
- Language: PHP
- Homepage:
- Size: 5.3 MB
- Stars: 16
- Watchers: 14
- Forks: 18
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# The DI Package [](https://ci.joomla.org/joomla-framework/di)
[](https://packagist.org/packages/joomla/di)
[](https://packagist.org/packages/joomla/di)
[](https://packagist.org/packages/joomla/di)
[](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
* 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`.
```json
{
"require": {
"joomla/di": "~3.0"
}
}
```Alternatively, you can simply run the following from the command line:
```sh
composer require joomla/di "~3.0"
```If you want to include the test sources and docs, use
```sh
composer require --prefer-source joomla/di "~3.0"
```