composer domestic package

pip domestic package repository composer domestic package Gem domestic resource package Maven domestic package repository npm domestic resource packages

Using package management can significantly reduce the cost of referencing and managing third-party libraries, but many sources are overseas, which often leads to timeouts during installation. We can solve this by switching to domestic sources or using a proxy.

This document is compiled by bejson for your domestic composer packages, including Huawei Cloud composer packages, Shanghai Jiao Tong University composer packages, and Alibaba Cloud composer packages, etc.

Provider Source and usage method
-

https://packagist.phpcomposer.com/

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

https://php.cnpkg.org/

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

https://mirrors.aliyun.com/composer/

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

https://mirrors.huaweicloud.com/repository/php/

composer config -g repo.packagist composer https://mirrors.huaweicloud.com/repository/php/
Shanghai Jiao Tong University

https://packagist.mirrors.sjtug.sjtu.edu.cn/

composer config -g repo.packagist composer https://packagist.mirrors.sjtug.sjtu.edu.cn
-

https://packagist.jp/

composer config -g repo.packagist composer https://packagist.jp

You recently used:

收藏: favorite Menu QQ