Description
A serializable dependency injection container with constructor and setter injection, interface and trait awareness, configuration inheritance, and much more.
Aura PHP alternatives and similar libraries
Based on the "Frameworks" category.
Alternatively, view Aura PHP alternatives based on common mentions on social networks and blogs.
-
CodeIgniter
CodeIgniter is an Application Development Framework - a toolkit - for people who build web sites using PHP. -
CodeIgniter 4 Development
Open Source PHP Framework (originally from EllisLab) -
FuelPHP
FuelPHP v1.x is a simple, flexible, community driven PHP 5.3+ framework, based on the best ideas of other frameworks, with a fresh start! FuelPHP is fully PHP 7 compatible. -
PHP-Spellchecker
๐๐๐ PHP Library providing an easy way to spellcheck multiple sources of text by many spellcheckers -
ReactPHP Promises Testing
PHPUnit assertions for testing ReactPHP promises
Get performance insights in less than 4 minutes
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of Aura PHP or a related project?
README
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:
composer require 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
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](./docs/index.md).
Aura.Di 2.x and 3.x users may wish to read the [migrating](./docs/migrating.md) documentation.