Composer installation under Windows Yii2

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.