yiisoft/yii2 — pull request #4642 by thiagotalma (2014-08-08 05:43:51+00:00)
Title: Display database exceptions with SQL formatted

It helps a lot to find the error quickly, especially in queries with multiple joins.

I suggested the simplest and lightest class I found in packagist.org