PHP Composer各大厂商镜像地址

阿里云

使用说明:https://mirrors.aliyun.com/composer/

全局配置:

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

华为云

使用说明:https://mirrors.huaweicloud.com

全局配置:

composer config -g repo.packagist composer https://mirrors.huaweicloud.com/repository/php/

腾讯云

使用说明:https://mirrors.cloud.tencent.com/composer/

全局配置:

composer config -g repos.packagist composer https://mirrors.cloud.tencent.com/composer/

laravel-china

使用说明:https://packagist.laravel-china.org/

全局配置:

composer config -g repos.packagist composer  https://packagist.laravel-china.org

cnpkg

使用说明:https://php.cnpkg.org

全局配置:

composer config -g repos.packagist composer https://php.cnpkg.org

phpcomposer

Composer官方镜像,速度较慢

全局配置:

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