G
G
grabbee2015-10-06 12:51:27
PHP
grabbee, 2015-10-06 12:51:27

What Dependency Injection Container do you use in your projects? Pimple?

Decided to use DIC - Pimple. Are there alternatives? What are you using?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
Cat Anton, 2015-10-06
@grabbee

There are many alternatives: https://github.com/ziadoz/awesome-php#dependency-i...
Comparison: https://github.com/TomBZombie/php-dependency-injec... I
use Zend\Di

O
OnYourLips, 2015-10-06
@OnYourLips

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 question

Ask a Question

731 491 924 answers to any question