yiisoft/injector
yiisoft/injector is a lightweight PHP dependency injection container for building objects and wiring dependencies via constructor, method, and property injection. Supports factories, config-based definitions, and PSR-friendly integration for Yii apps and beyond.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| symplify/autowire-array-parameter | 0.81 | Automatically inject array parameters into PHP services with minimal configuration. Symplify Autowire Array Parameter resolves array constructor arguments from container config, reducing boilerplate and making service wiring cleaner in Symfony/Laravel-style DI setups. | 60 | 62 | 2 | 38K | 0 | 0.2 | 27.2 | MIT | — | |
| dantleech/invoke | 0.80 | Emulate named arguments in PHP: instantiate classes or call methods by mapping associative array keys to parameter names. Validates required/missing/extra keys and type hints, throwing clear exceptions. Useful for deserialization and config loading. | 5 | 5 | 2 | 26K | 0 | 0.2 | 50.2 | — | — | |
| php-di/invoker | 0.80 | Lightweight PHP library to call any callable with automatic dependency injection. Resolves function and method parameters by name and type-hints, integrates with PHP-DI, and supports default values for flexible invocations in frameworks, controllers, and CLI tools. | 268 | 272 | 20 | 2M | 2 | 29.2 | 62.5 | MIT | 7 months ago | |
| nette/di | 0.80 | Nette DI is a fast, secure dependency injection container for PHP. It compiles configuration into optimized PHP for performance, supports autowiring, service factories, extensions, and strong type safety. Ideal for Nette apps or standalone use. | 920 | 927 | 74 | 373K | 16 | 42.3 | 56.7 | NOASSERTION | 5 months ago |
How can I help you explore Laravel packages today?