phc: yii-rest