Aura.Di

Dependency Injection System

Github stars Tracking Chart

Aura.Di

A serializable dependency injection container with constructor and setter injection, interface and trait awareness, configuration inheritance, and much more.

Installation and Autoloading

This package is installable and PSR-4 autoloadable via Composer as
aura/di.

Alternatively, download a release, or clone this repository, then map the
Aura\Di\ namespace to the package src/ directory.

Dependencies

This package requires PHP 7.2 or later. We recommend using the latest available version of PHP as a matter of
principle. If you are interested in using this package for older PHP versions, use version 3.x for PHP 5.5+.

Aura library packages may sometimes depend on external interfaces, but never on
external implementations. This allows compliance with community standards
without compromising flexibility. For specifics, please examine the package
composer.json file.

Quality

Scrutinizer Code Quality
Code Coverage
Build Status

To run the unit tests at the command line, issue composer install and then
phpunit at the package root. This requires Composer to be available as
composer, and PHPUnit to be available as phpunit.

This package attempts to comply with PSR-1, PSR-2, PSR-4 and PSR-11. If
you notice compliance oversights, please send a patch via pull request.

Community

To ask questions, provide feedback, or otherwise communicate with other Aura
users, please join our Google Group.

Documentation

This package is fully documented here.

Aura.Di 2.x and 3.x users may wish to read the migrating documentation.

Main metrics

Overview
Name With Ownerauraphp/Aura.Di
Primary LanguagePHP
Program languagePHP (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2011-02-17 00:59:18
Pushed At2024-09-17 20:35:55
Last Commit At
Release Count41
Last Release Name5.0.8 (Posted on )
First Release Name1.0.0 (Posted on 2012-11-27 13:40:59)
用户参与
Stargazers Count352
Watchers Count27
Fork Count63
Commits Count709
Has Issues Enabled
Issues Count81
Issue Open Count1
Pull Requests Count121
Pull Requests Open Count0
Pull Requests Close Count27
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private