innmind/di
A dependency injection container for PHP that composes object graphs through explicit bindings, constructor autowiring, and factory closures. Part of the InnMind stack, it keeps service configuration readable and testable while resolving shared or lazy instances on demand.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| innmind/reflection | 0.86 | Provides a simple object-oriented wrapper around PHP's native reflection API, letting you inspect classes, interfaces, methods, properties and parameters with a cleaner, more predictable interface. Useful for building tooling, dependency injection containers and code analysis. | 1 | — | 3 | — | 0 | 15.9 | — | MIT | 2 months ago |
|
| mnapoli/php-di | 0.86 | PHP-DI is a practical, feature-rich dependency injection container for PHP. It offers autowiring, constructor injection, flexible definitions, lazy dependencies, and PSR-11 compatibility, helping you build cleaner, more testable applications with minimal configuration and boilerplate. | 2,773 | 2,775 | 320 | 421 | 56 | 40.5 | 24.0 | MIT | 1 year ago | |
| slince/di | 0.86 | A lightweight, PSR-11 compatible dependency injection container for PHP. Slince DI supports constructor and setter injection, service providers, aliases, lazy loading, and shared instances, giving you a simple, flexible foundation for managing object dependencies in small to medium applications. | 20 | — | 5 | — | 0 | 0.6 | 0.4 | — | — |
|
| slick/di | 0.85 | Slick\DI is a lightweight dependency injection container for PHP that wires services through autowiring, explicit bindings, and lazy resolution. It offers a small, PSR-11 friendly API for managing object lifecycles in Laravel, Slim, and standalone applications. | 0 | 0 | 0 | 232 | 0 | 0.0 | 32.7 | NOASSERTION | 2 years ago | |
| orno/di | 0.84 | Orno\Di is a lightweight, PSR-11 compatible dependency injection container for PHP. It supports constructor and setter injection, autowiring, lazy service resolution, aliases, and shared instances, making it easy to wire dependencies cleanly in small applications and custom frameworks. | 0 | 1 | — | 0 | — | 0.0 | — | — | — | |
| innmind/http | 0.83 | Innmind HTTP provides lightweight, immutable HTTP request and response abstractions for PHP, giving developers a clean, framework-agnostic foundation for building clients, servers, and middleware. | 4 | — | 0 | — | 0 | 15.5 | — | MIT | 2 months ago |
|
| innmind/io | 0.83 | A typed I/O abstraction for PHP that wraps streams, files, and sockets behind lazy, composable interfaces. It standardizes reading, writing, and resource handling so applications can swap data sources without changing their logic. | 1 | 1 | 0 | 2K | 1 | 16.1 | 45.7 | MIT | 2 months ago | |
| aura/di | 0.82 | Aura.Di is a serializable dependency injection container for PHP 8+ supporting constructor and setter injection, interface and trait awareness, configuration inheritance, and PSR-11 compliance. It has no external implementation dependencies and installs via Composer as aura/di. | 352 | 357 | 63 | 16K | 1 | 33.1 | 27.2 | MIT | 4 days ago | |
| sanmai/di-container | 0.82 | A straightforward PSR-11 dependency injection container with zero-configuration autowiring. It resolves constructor dependencies via reflection, reuses created objects, maps interfaces to concrete implementations, and supports builder objects for complex construction. | 7 | 7 | 4 | 1M | 0 | 24.2 | 63.6 | BSD-3-Clause | 2 months ago | |
| nette/di | 0.82 | Nette DI is a fast, flexible dependency injection container for PHP with smart autowiring and compile-time configuration. It helps structure applications cleanly, reduce boilerplate, and catch wiring errors early. Ideal for Nette Framework and standalone PHP projects. | 922 | 928 | 73 | 1M | 3 | 36.9 | 50.9 | NOASSERTION | 1 week ago | |
| godruoyi/easy-container | 0.81 | godruoyi/easy-container is a lightweight PHP/Laravel service container that simplifies dependency injection, binding, and singleton management. Its small API makes registering and resolving services fast, clean, and easy to integrate into Laravel applications. | 33 | — | 4 | — | 0 | 0.6 | — | — | 3 years ago | |
| innmind/immutable | 0.81 | Innmind/Immutable provides persistent, immutable collections for PHP, including sequences, sets, maps, and streams. It offers a functional API with lazy operations, structural sharing, and type-safe wrappers for predictable, side-effect-free data manipulation. | 75 | — | 4 | — | 2 | 16.4 | — | MIT | 2 months ago |
|
| innmind/signals | 0.81 | Signal handling abstraction for PHP: register listeners for POSIX signals such as SIGTERM or SIGINT and react cleanly in long-running CLI processes, workers, and daemons without scattering pcntl calls throughout your code. | 0 | — | 0 | — | 0 | 15.9 | — | MIT | 2 months ago |
|
| innmind/event-bus | 0.80 | A lightweight event bus for PHP from the Innmind ecosystem. Publish domain events and register listeners or handlers to react to them, keeping producers and consumers decoupled behind a small, predictable API that fits neatly into larger Innmind applications. | 0 | 0 | 0 | 94 | 0 | 0.0 | 19.3 | MIT | — | |
| innmind/http-transport | 0.80 | Innmind HTTP Transport is a PHP library for sending HTTP requests and handling responses through a clean, framework-agnostic API. Designed for the InnMind ecosystem, it keeps transport integration simple, testable, and lightweight for applications and services. | 1 | 1 | 1 | 1K | 3 | 16.6 | 45.0 | MIT | 2 months ago | |
| php-di/php-di | 0.80 | 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,772 | 2,855 | 320 | 4M | 56 | 49.2 | 64.3 | MIT | 1 year ago | |
| innmind/specification | 0.80 | Innmind's specification package brings the Specification pattern to PHP, letting you compose business rules with and/or/not operators and reuse them for validation, filtering, or query building. Small immutable objects keep domain logic expressive, decoupled, and testable. | 0 | — | 0 | — | 0 | 8.6 | — | MIT | 7 months ago |
|
| laminas/laminas-di | 0.80 | Dependency injection container for Laminas apps. Supports autowiring, configuration-driven definitions, factories, and runtime instantiation to manage object creation and wiring with minimal boilerplate. Integrates with Laminas ServiceManager patterns and PSR-friendly practices. | 35 | 36 | 25 | 352K | 9 | 15.1 | 62.9 | BSD-3-Clause | 9 months ago | |
| innmind/command-bus | 0.80 | A lightweight command bus for PHP that maps commands to handlers and dispatches them through a middleware pipeline, making it easy to add concerns like transactions, logging, and validation around command execution. | 0 | 0 | 0 | 2 | 0 | 0.0 | 4.7 | MIT | — | |
| innmind/server-control | 0.80 | A lightweight, framework-agnostic PHP library for controlling servers and remote processes. It offers a clean API to define connections, execute commands, and manage start, stop, restart, and status operations, making server automation easier to integrate, extend, and test. | 0 | 0 | 1 | 1K | 2 | 20.3 | 51.0 | MIT | 1 week ago |
How can I help you explore Laravel packages today?