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.