yiisoft/injector
PSR-11 compatible dependency injector with autowiring. Resolves and injects dependencies when calling functions or creating objects, supports extra arguments by name or type, and handles variadic parameters. Works with any PSR-11 container.
None
|
Package
|
Constraint
|
|---|---|
| bamarni/composer-bin-plugin | ^1.8.3 |
| friendsofphp/php-cs-fixer | ^3.93 |
| maglnet/composer-require-checker | ^3.8 || ^4.2 |
| phpbench/phpbench | ^1.1 |
| phpunit/phpunit | ^9.5 |
| psr/container | ^1.0 || ^2.0 |
| rector/rector | ^2.0.10 |
| spatie/phpunit-watcher | ^1.23 |
| yiisoft/code-style | ^1.0 |
| yiisoft/test-support | ^1.4 || ^3.1 |
How can I help you explore Laravel packages today?