Dependency Injection
Dependency Injection is a design pattern that will fundamentally change the way you look at code and development. It opens the way to a world of cleanly designed and sustainable applications.
- What is Dependency Injection?
- Global State & Singletons
- Passing Dependencies
- What is DI Container?
- Frequently Asked Questions
Nette DI
The nette/di
package provides an extremely advanced compiled DI container for PHP.