Is Dependency Injection A Standard in PHP and Laravel?

by krubix   Last Updated September 07, 2018 05:05 AM

Or in actuality, how to tell if a certain technique has became a standard in certain language / framework?

As I understood from my readings so far, PHP supports DI in PSR-11 while Laravel uses it out of the box...

But does this mean DI is a standard for PHP and Laravel or they just helped you to do it right, should you choose to use DI?

Related Questions

Difference of how Spring and EJB use IOC

Updated November 29, 2016 08:02 AM

Help With Dependency Injection

Updated September 11, 2016 09:02 AM