phpbench/container
Lightweight, extensible PHP dependency injection container with parameters and service tagging. Register services as closures, load extensions to provide defaults and wiring, and discover tagged services. Implements container-interop for portability.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| zendframework/zend-container-config-test | 0.81 | Common test suite for PSR-11 containers configured with a subset of zend-servicemanager/Expressive config. Extend AbstractContainerTest and add traits for aliases, factories, services, etc. Supports Aura.Di, Pimple, and zend-servicemanager. Repository abandoned; moved to laminas. | 1 | 1 | 0 | 0 | 0 | 10.6 | — | BSD-3-Clause | 6 years ago | |
| illuminate/container | 0.80 | Illuminate Container is Laravel’s lightweight dependency injection container for resolving classes, managing bindings, singletons, contextual dependencies, and automatic constructor injection. It powers service resolution and inversion of control in Laravel apps and packages. | 312 | 325 | 60 | 1M | 0 | 3.4 | 49.5 | MIT | — | |
| sanmai/di-container | 0.80 | Lightweight PSR-11 compatible dependency injection container for PHP. Supports autowiring via reflection, bindings and shared services, simple configuration, and fast resolution with minimal boilerplate—suitable for small apps and libraries needing a straightforward DI container. | 7 | 7 | 2 | 743K | 3 | 24.9 | 66.4 | BSD-3-Clause | 2 months ago | |
| php-di/php-di | 0.78 | PHP-DI is a practical, powerful, framework-agnostic dependency injection container for PHP. It helps manage services and wiring with autowiring and flexible configuration, making applications easier to build, test, and maintain across any framework. | 2,779 | 2,857 | 324 | 2M | 56 | 69.2 | 74.5 | MIT | 7 months ago | |
| psr/container | 0.77 | The PSR-11 Container Interface defines core abstractions for dependency injection in PHP. It’s a standard abstraction, not an implementation—used by DI containers like Laravel’s Illuminate\Container. Essential for dependency management, ensuring interoperability across container implementations. | 10,015 | 10,054 | 51 | 16M | 4 | 49.8 | 53.9 | MIT | 4 years ago | |
| phpcsstandards/phpcsutils | 0.56 | Utilities and helper classes for building and maintaining PHP_CodeSniffer (PHPCS) standards and sniffs. Provides common abstractions and compatibility helpers to simplify writing custom rulesets and speed up development of consistent coding standards. | 62 | 62 | 7 | 2M | 25 | 35.4 | 75.3 | LGPL-3.0 | 4 months ago | |
| clue/connection-manager-extra | 0.56 | Extra ReactPHP socket connector decorators that implement ConnectorInterface: retry/repeat, timeouts, delays, reject rules, swappable connectors, consecutive/random selection, concurrency limits, and selective routing for async connection management. | 22 | 22 | 4 | 170 | 0 | 25.0 | 15.0 | MIT | 3 years ago | |
| phpcompatibility/php-compatibility | 0.56 | PHPCompatibility is a PHP_CodeSniffer ruleset that scans PHP code for cross-version compatibility issues. Check support for specific PHP versions, detect deprecated/removed features, and audit projects when upgrading or maintaining multi-version support. | 2,282 | 2,294 | 205 | 2M | 86 | 65.6 | 80.1 | LGPL-3.0 | 4 months ago | |
| dealerdirect/phpcodesniffer-composer-installer | 0.55 | Composer installer plugin that automatically discovers and installs PHP_CodeSniffer coding standards (rulesets) from Composer packages. It configures PHPCS installed_paths for you, avoiding manual symlinks and configuration. Supports PHPCS 3/4 and Composer 2.2+. | 596 | 603 | 39 | 4M | 8 | 34.0 | 66.3 | MIT | 4 months ago |
How can I help you explore Laravel packages today?