Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
There are many alternatives: https://github.com/ziadoz/awesome-php#dependency-i...
Comparison: https://github.com/TomBZombie/php-dependency-injec... I
use Zend\Di
Let's start by asking why you don't want to use a framework. The kit will already have DI (with the exception of Yii).
If I didn't use it, I would choose Symfony DI: https://github.com/symfony/dependency-injection
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question