Home  >  Article  >  Development Tools  >  How to view the mirror address in composer

How to view the mirror address in composer

藏色散人
藏色散人forward
2020-08-31 11:48:034845browse

The following tutorial column of composer will introduce to you how to check the mirror address in composer. I hope it will be helpful to friends in need!

How to view the mirror address in composer

##! Please see the update below

composer View global settings:

composer config -gl
Set the composer image as a domestic image:

composer config -g repo.packagist composer https://packagist.phpcomposer.com
The above address crashed a few days ago, you can use the following one:

composer config -g repo.packagist composer https://mirrors.aliyun.com/composer
laravel- Due to some reasons, china will withdraw from the stage of history on August 1st. The forum leader gave an explanation and a corresponding plan. Thank you!

https://learnku.com/articles/30758
Alibaba Mirror:
https://learnku.com/laravel/t/30710
Image Manager:
https://github.com/slince/composer-registry-manager

The above is the detailed content of How to view the mirror address in composer. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete