r/PHPhelp • u/MrBaseball77 • May 30 '18
PHP Dependency Injection tutorials?
I need a tutorial on using Dependency Injection/IOC in PHP. We are going to build an API and want the output formatters to be "pluggable" meaning we may use DI to accomplish this. I don't know how to do DI in PHP and need some brushing up on it.
9
Upvotes
2
u/colshrapnel May 30 '18
One posted in /r/php recently,https://www.stitcher.io/blog/dependency-injection-for-beginners