简体   繁体   中英

Composer freezes while installing Laravel 5.6

I am installing Laravel 5.6 with the composer. This process is carried out in Windows 10's native command prompt. However when I type in composer create-project --prefer-dist laravel/laravel my_blog , composer doesn't do anything. It just stays still. Left it for 1.5 hours and the result is same.

Please help me fix it.

 php composer create-project laravel/laravel my_blog --prefer-dist

File composer.phar must be in folder where you start command create-project OR add composer.phar to your PATH environment variable

For test (in terminal):

composer -V

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM