1.在创建项目之前,我们先在虚拟机中运行以下命令来实现 Composer 安装加速 :
$ composer config -g repo.packagist composer https://packagist.phpcomposer.com
1
或者https://laravel-china.org/composer
$ composer config -g repo.packagist composer https://packagist.laravel-china.org
1
2.查看Composer全局设置命令:
$ composer config -gl
https://blog.csdn.net/qq_39479575/article/details/78515219
原文地址:https://www.cnblogs.com/kaka666/p/10652811.html
时间: 2024-10-31 21:16:01