Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Php Di Laravel Package

mnapoli/php-di

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
liip/container-wrapper-bundle 0.88 Symfony bundle that provides a lightweight wrapper around the service container, letting you inject a container interface into services and fetch dependencies lazily without coupling code to Symfony's full container. 29 29 1 0 1 0.3 — — 11 years ago
View on GitHub
illuminate/container 0.88 The Illuminate Container is Laravel's powerful dependency injection container. It manages class dependencies, binds and resolves services, supports contextual and method injection, and provides a simple, flexible foundation for building decoupled PHP applications. 34,987 322 12,028 2M 55 78.2 60.4 MIT 3 days ago
View on GitHub
slince/di 0.88 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 — —
laminas/laminas-servicemanager 0.88 Laminas ServiceManager is a PSR-11 compatible dependency injection container for PHP. It supports factory-based service creation, aliases, abstract factories, delegators, and lazy loading, making it a flexible foundation for managing object dependencies. 160 162 63 2M 13 27.5 69.8 BSD-3-Clause 5 months ago
View on GitHub
Context7
league/container 0.88 League/Container is a fast, lightweight, PSR-11 compliant dependency injection container for PHP. It offers constructor autowiring, service providers, inflectors, and lazy loading out of the box, requires no configuration, and supports PHP 8.3, 8.4, and 8.5. 864 906 104 3M 5 25.7 53.6 MIT 7 months ago
View on GitHub
sanmai/di-container 0.88 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
View on GitHub
phpbench/container 0.87 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. 15 16 6 744K 0 4.8 57.3 MIT 1 year ago
View on GitHub
Context7
michael-rubel/laravel-enhanced-container 0.87 A lightweight extension for Laravel’s service container, offering convenient helpers for binding, resolving, and managing dependencies. Simplify contextual bindings, singletons, and instance handling while keeping service providers clean, expressive, and easier to test. 88 88 3 562 0 0.8 11.9 MIT 1 year ago
View on GitHub
avris/container 0.87 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 — 9 — 0.0 13.8 — —
View on GitHub
bnf/di 0.87 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 — — —
View on GitHub
php-di/slim-bridge 0.87 Integrates the PHP-DI dependency injection container with Slim, letting you use autowiring, constructor injection, and PSR-11 services in Slim applications. Configure PHP-DI once and resolve controllers, middleware, and dependencies automatically. 177 — 37 — 4 3.2 1.5 MIT 1 year ago
container-interop/container-interop 0.86 container-interop/container-interop defines a common ContainerInterface (get/has) so PHP dependency injection containers can work together. It standardizes basic container behavior for libraries and apps, improving portability and reducing coupling across different container implementations. 1,240 1,116 44 448K 13 12.3 39.3 MIT 9 years ago
View on GitHub
nette/di 0.86 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
View on GitHub
psr-discovery/container-implementations 0.86 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
View on GitHub
Context7
php-di/php-di 0.86 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
View on GitHub
Context7
yiisoft/factory 0.86 A flexible factory for Yii3 that creates objects from class names, definitions, or callables, resolving constructor dependencies through a PSR-11 container. Ideal for configurable services and dependency injection setups. 36 37 14 19K 5 3.6 39.0 BSD-3-Clause 11 months ago
View on GitHub
aura/di 0.86 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
View on GitHub
godruoyi/easy-container 0.86 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
View on GitHub
slick/di 0.86 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
View on GitHub
innmind/di 0.86 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. 0 — 0 — 0 6.4 — MIT 8 months ago
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo