symfony/dependency-injection
Symfony DependencyInjection standardizes and centralizes object construction with a powerful service container. Define services and parameters, manage autowiring and configuration, and optimize performance through compilation for cleaner, decoupled apps.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| adtechpotok/symfony-aware | 0.90 | Symfony “aware” interfaces and traits for quickly injecting common services (EntityManager, Doctrine, cache, logger, kernel, request stack, etc.) into your classes. Works with explicit service calls or Symfony 3.3+ autowiring. | 3 | 3 | 0 | 0 | 0 | 0.9 | — | MIT | 8 years ago | |
| avris/container | 0.89 | A lightweight PHP dependency injection container with simple autowiring and service definitions. Ideal for small apps and libraries needing PSR-style container access, configurable bindings, and clean object construction without a full framework. | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| league/container | 0.88 | league/container is a lightweight PSR-11 dependency injection container for PHP. Define entries, factories, and autowiring-friendly services to manage application dependencies cleanly, with modern PHP support and solid tooling for testing and analysis. | 868 | 908 | 104 | 2M | 5 | 29.8 | 52.5 | MIT | 6 months ago | |
| yiisoft/di | 0.88 | PSR-11 compatible dependency injection container for PHP 8.1+. Supports autowiring plus constructor, method and property injection, aliasing, service providers, delegated/composite containers, circular reference detection, and state reset for long-running workers. | 236 | 239 | 49 | 43K | 14 | 15.2 | 39.1 | BSD-3-Clause | 9 months ago | |
| bbrands/test-bundle | 0.87 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| astina/injection-bundle | 0.87 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| aura/di | 0.87 | Aura.Di is a PSR-11 dependency injection container for PHP 8+ with constructor and setter injection, interface and trait awareness, configurable wiring with inheritance, and support for serialization. Installable via Composer and fully documented. | 353 | 357 | 63 | 9K | 2 | 27.7 | 22.2 | MIT | 5 months ago | |
| php-di/php-di | 0.87 | 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,773 | 2,852 | 320 | 3M | 56 | 49.1 | 61.8 | MIT | 1 year ago | |
| matthiasnoback/symfony-dependency-injection-test | 0.86 | — | 242 | 243 | 49 | 168K | 2 | 21.3 | 43.5 | MIT | 6 months ago | |
| bnf/di | 0.86 | Lightweight dependency injection container for PHP/Laravel projects. Configure bindings and resolve services automatically with simple, minimal setup—ideal for small apps or packages that need clean inversion of control without a heavy framework. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| digipolisgent/domainator9k-apptype-symfony-bundle | 0.85 | — | 0 | 0 | 0 | 0 | 0 | 0.9 | — | — | 8 years ago | |
| psr-discovery/container-implementations | 0.85 | Auto-discovers an available PSR-11 container at runtime by checking for well-known implementations and returning the first match. Ideal for SDKs/libraries that want PSR-11 support without hard dependencies or user configuration. | 6 | 6 | 1 | 478K | 0 | 1.3 | 55.3 | MIT | 1 year ago | |
| draw/dependency-injection | 0.80 | Add-ons for Symfony DependencyInjection to simplify integrating subcomponents into a main bundle. Provides Integration classes and traits to auto-register integrations, load enabled configuration, and prepend container configuration when components are installed. | 0 | 0 | 0 | 375 | 0 | 0.0 | 35.6 | — | — | |
| symfony/event-dispatcher | 0.74 | Symfony EventDispatcher lets application parts communicate via dispatched events and listeners/subscribers. It provides a flexible event system for decoupled architecture, supporting priority-based listeners and a consistent dispatching API for PHP apps. | 8,532 | 8,580 | 66 | 18M | 0 | 61.5 | 54.2 | MIT | 4 weeks ago |
How can I help you explore Laravel packages today?