Decompresses laravel-China's full composer images, and specially organizes the full composer images that can be used in China.
Mirror usage
$ composer config -g repo.packagist composer 镜像地址 $ composer clearcache $ composer update || install
Note: If the project has been installed through other sources before, you can delete composer.lock and vendor directory and regenerate.
Close the mirror
$ composer config -g --unset repos.packagist
Alibaba Cloud Composer full mirror
Mirror address: https://mirrors. aliyun.com/composer/
Official address: https://mirrors.aliyun.com/composer/index.html
Description: Finally connected The big factory water pipes have been installed. I haven’t had time to test it urgently yet. Let’s update it first. I think Alibaba Cloud will do well.
Tencent Cloud Composer full mirror
Mirror address: https://mirrors.cloud.tencent.com/composer/
Official address: https://mirrors.cloud.tencent.com/composer
Note: If you use Tencent Cloud Server, you can change the source domain name from mirrors.cloud.tencent .com is changed to mirrors.tencentyun.com. It uses intranet traffic and does not occupy public network traffic. Isn't it very conscientious?
Huawei Composer full mirror
Mirror address: https://mirrors.huaweicloud.com/repository/php/
Official address: https://mirrors.huaweicloud.com/
Description: Huawei composer mirror is not perfect yet, there will be some bugs when using composer i, and the synchronization speed is also relatively slow. , it seems that it is not the full amount.
Packagist / Composer China full mirror
Mirror address: https://packagist.phpcomposer.com
Official address :https://pkg.phpcomposer.com/
Note: Packagist China’s full mirror was launched in September 2014. It is relatively complete in terms of installation and synchronization, and has always been It is operated for public welfare, but I don’t know if this image is still available.
Composer / Packagist China full mirror
Mirror address: https://php.cnpkg.org
Official address :https://php.cnpkg.org/
Description: This composer image is sponsored by Anchang Network. It currently supports full proxy for metadata and download packages. It is still good and recommended. .
Packagist / JP
Mirror address: https://packagist.jp
Official address: https ://packagist.jp
Description: This is a composer image built by Japanese developers. I tested it this morning and found the speed to be pretty good.
Packagist Mirror
Mirror address: https://packagist.mirrors.sjtug.sjtu.edu.cn/
Official address: https://mirrors.sjtug.sjtu.edu.cn/packagist/
Description: Composer mirror provided by Shanghai Jiao Tong University, stable, fast and modern mirror service ,Recommended Use.
Laravel China Composer full image
Mirror address: https://packagist.laravel-china.org
Official Address: Laravel Forum Home Page
Description: This is not much, the composer image that is most used by domestic PHP developers has fast and stable synchronization speed and is recommended.
Related recommendations: packagist mirror service provided by Alibaba open source mirror
Summary
Hope domestic composer There are more and more full-scale images, giving developers more choices.