Fast installing Yii framework

0. If you do not already have Composer installed, you may do so by following the instructions at
1. Install Yii)

composer global require "fxp/composer-asset-plugin:^1.2.0"

and final

composer create-project --prefer-dist yiisoft/yii2-app-basic my_project_name

That’s all. Happy Codding.

P.s. Sometimes you can get something like:

Could not fetch, please create a GitHub OAuth token to go over the API rate limit
Head to to retrieve a token. 
It will be stored in "C:/Users/.../AppData/Roaming/Composer/auth.json" for future use by Composer.
Token (hidden):

Don’t worry, just follow this link and approve and copy result token on GitHub.