How to install Yii framework in an android device?
PHP mySQL Server app is available for android device. 

Install it and then download and generate your Yii project by using cmd, then copy that project to your android device WAMP root directory. For better development, install it on your pc.

Before running the command in the cmd, install php and make sure to set the php path in your system environmental variables.