How to know which Yii version you’re using? It’s simple to learn what version you’re using. Just place this code in any controller action or at the top of in app/web/index.php: echo Yii::getVersion(); exit; Read More →