the redlib for yii