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

How to view the mirror address in composer

藏色散人
Release: 2020-08-31 11:48:20
forward
4887 people have browsed it

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
Copy after login
Set the composer image as a domestic image:

composer config -g repo.packagist composer https://packagist.phpcomposer.com
Copy after login
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
Copy after login
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!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template