Libraries tagged by method injection
carloswph/mainframe
5 Downloads
Provides a container in which objects can be pushed, and then an interface to call methods that can be found inside the queued objects, and executed sequentially.
emma/di
43 Downloads
A PHP 8.0+ Dependency Injection - Di - library. Easy to use and can Autowire any class/method/function. Similarly, you can autowire any config variables or values stored in the container.
horat1us/php-method-injection
1539 Downloads
PHP Trait to inject methods
yavin/behat-context-injection-extension
11 Downloads
ability to inject other contexts to steps methods
jeremyworboys/containeraware
5335 Downloads
Adds ContainerAware and method injection functionality to Laravel 4
matthew-p/yii2-di-magic
686 Downloads
Improvement for Yii2 that add dependency injection in action methods and provide model binding.
webiik/container
66 Downloads
The Container adds handy methods to most common Pimple functions and then adds automatic injection of dependencies from container to class constructor.
sikessem/core
0 Downloads
Objects with strict types to manage PHP variables and values.
oliver-schoendorn/dependency-injector
103 Downloads
A very simple dependency injector that supports instance creation and auto wiring of classes, class methods and functions. Additionally it provides simple means of caching the necessary reflections to boost performance in heavy load environments.
ixmanuel/nexus
63 Downloads
It manages object's dependencies for internal builders collaborators.
evas-php/evas-di
72 Downloads
Di module (Dependency Injection container trait & class) based on magic methods
kael-shipman/factory
48 Downloads
A class that provides overridable instantiation of classes through declarative method calls.
mrsimonbennett/dipr
88 Downloads
Dependency Injection For Controller Methods in Laravel
charm/db
27 Downloads
PDO wrapper, for those that dislike verbose `PDOStatement` methods but also dislike SQL injection.
zalevsk1y/container-builder
155 Downloads
Container Builder, provides a simple implementation of a Dependency Injection Container. It allows for easy management of object instances and their dependencies, allowing for more flexible and maintainable code. The module includes methods for adding definition files, retrieving instances, and calling methods on instances with specified arguments. This can help improve code organization and reduce coupling between classes, leading to a more robust and scalable application.