A lightweight MVC PHP framework
-
Updated
Oct 17, 2014 - PHP
Dependency injection (DI) is an implementation of the dependency inversion principle with the aim of separation of concerns by separating the depndency's implementation from the class that's using it. That kind of abstraction makes it possible to have different implementations with the same public methods so the class using it, doesn't need to care which of the implementations is used. This is also especially useful for unit testing.
There are different types of dependency injection:
A lightweight MVC PHP framework
A small Dependency Injection Container pattern in PHP
Symfony2 Bundle which registers all repositories found as services.
The Happy-Developer Dependency Injection Container for PHP
An implementation of dependency injection/service location (like RequireJS) in PHP.
Laravel ServiceProvider for using YAML configuration files
PHP Dependency Injection Container
[DEPRECATED due to only 20 downloads per 2 years] Read an article about this idea
[DEPRECATED, READ-ONLY] Use:
A dependency-injection framework consisting of Models, Services, Views, and Events
Minimal PHP Dependency Injector
[DEPRECATED] A simple array container implementing container-interop. Array all the things!
Configure your application and the Dependency Injection Container (DIC) via config arrays or config files.
The PHP 7 dependency injection container for cgTag
A DSL for mocking dependencies on PHP unit tests
Decorator for added support of interop service providers to League Container
A lightweight dependency injection container with autowiring.
Created by Martin Fowler
Released January 23, 2004