使用composer安装Larave提示“Changed current directory to C:/Users/Administrator/AppData/Roaming/Composer”

解决办法:

  

根据官方手册执行composer global require "laravel/installer"

显示Changed current directory to C:/Users/Administrator/AppData/Roaming/Composer

然后没反应了,因为去国外的镜像地址下载了。

应该先将composer换成国内镜像

composer config -g repo.packagist composer https://packagist.phpcomposer.com

重试:composer global require "laravel/installer"

 

验证可以使用

 

使用composer安装Larave提示“Changed current directory to C:/Users/Administrator/AppData/Roaming/Composer”

上一篇:WhatsApp被曝漏洞:一张GIF动图黑客便可接管账户


下一篇:IOS static extern const volatile 关键字区别及应用场景