composer如何查看镜像地址设置是什么?

composer查看全局设置:

composer config -gl

设置composer镜像为国内镜像:

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

上面地址前几天崩了,可以用下面这个:

composer config -g repo.packagist composer https://mirrors.aliyun.com/composer

laravel-china由于一些原因,会于8月1日退出历史舞台,坛主给出了解释,以及对应方案,谢谢!

https://learnku.com/articles/30758