Dependency Injection Container With & Without Reflection API Autowiring - Full PHP 8 Tutorial

Опубликовано: 12 Октябрь 2021
на канале: Program With Gio
33,390
1.3k

In this video, we implement a basic PSR-11 DI container. You will learn how DI containers work behind the scenes, what is autowiring & how to implement reflection API based autowiring.

SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL
👍 Smash the like button
🤝 Subscribe to the channel & turn the notifications on
💬 Post comments, any feedback is greatly appreciated
⭐ Become a Patreon:   / programwithgio  
THANK YOU!

🛠️ TOOLS & SERVICES I USE
Digital Ocean Hosting - Get 100$ credit - https://m.do.co/c/38b935ad74e5
Domains on Namecheap - https://namecheap.pxf.io/rnRjdQ
Envato Elements - https://1.envato.market/c/2937311/298...

LESSON 3.4
Course Outline - https://github.com/ggelashvili/learnp...
Course Playlist -    • Learn PHP The Right Way - Full PHP Tu...  

RESOURCES
Lesson 3.3 (Dependency Injection) -    • Dependency Injection & DI Containers ...  
Source Repo - https://github.com/ggelashvili/learnp...
Reflection API - https://www.php.net/manual/en/book.re...
PSR-11 - https://www.php-fig.org/psr/psr-11/
PHP-DI - https://php-di.org/
Laravel's Service Container - https://laravel.com/docs/container

** Affiliate Disclaimer: Some of the above links may be affiliate links, which may generate me a sales commission at no additional cost to you.