ingenioz-it / edict
A slim, PSR 11, framework-agnostic DI container
v2.1.1
2022-11-03 22:24 UTC
Requires
- php: >=8.1
- psr/container: ^2.0
Requires (Dev)
- infection/infection: ^0
- phan/phan: ^5.3
- phpstan/phpstan: ^1.3
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.6
- vimeo/psalm: ^4.18
Provides
README
EDICT (Easy DI ConTainer) is a slim, PSR 11, framework-agnostic dependency injection container.
Cool features:
- Autowiring support (can be toggled off)
- PHP attributes support
- 100% tested and documented
- Uses an up-to-date PHP version
About
Info | Value |
---|---|
Latest release | |
Requires | |
License | |
Unit tests | |
Code coverage | |
Code quality | |
Quality tested with | phpunit, phan, psalm, phpcs, phpstan, infection |
Installation
composer require ingenioz-it/edict
How to use
To learn more about how to use Edict, please refer to the wiki.
Full documentation
You can list the available features by running
composer testdox
The corresponding code samples are located in the unit tests file.