Hi! I hope you are well and following this series. In the first part of the series, we learned on how you can use Yii3 database abstraction layer package, in a non-Yii application. Today, we will look at the Dependency Injection Container, another Yii3 package that you can use with your own application or non-Yii framework.
In this series I will show you how you can use Yii packages in a non-Yii application. In this series I will use a pure PHP application but you can use same packages with any other framework: CakePHP, Laravel, Symfony, et al. In this first part, I will show you how to use database packages. Let us jumpstart without further ado.