1, install Composer "Https://getcomposer.org/Composer-Setup.exe"
2, install Composer-asset-plugin, open cmd,cd to local server root to execute "PHP Composer.phar global require" fxp/composer-asset-plugin:^1.2.0 "
3, set composer package source to China, execute omposer config -g repo.packagist composer https://packagist.phpcomposer.com
command
4, install YII2, execute command PHP composer.phar create-project yiisoft/yii2-app-advanced Advanced 2.0.9, this step will allow you to enter the GitHub account and password, Continue waiting when you are finished typing
5, wait for the installation to complete, the 4th step is very slow, wait patiently
Note: You may encounter prompt input auth information: You can refer to this post to resolve, http://www.bubuko.com/infodetail-1016527.html%20%20% 204f3741afffcf559cf4111219a0001c1d97157d11
What's the problem you can send email [email protected]
Composer installation under Windows Yii2