Fast installing Yii framework

Steps:
0. If you do not already have Composer installed, you may do so by following the instructions at getcomposer.org.
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 https://api.github.com/repos/jquery/jquery-dist/commits/..., please create a GitHub OAuth token to go over the API rate limit
Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+...+2017-03-29+0753 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.