Various extras for Yii Framework 2.0