Home >Development Tools >composer >About Composer using Alibaba Cloud full image

About Composer using Alibaba Cloud full image

藏色散人
藏色散人forward
2020-03-02 17:52:582561browse

About Composer using Alibaba Cloud full image

Alibaba Cloud Mirror official website:

https://developer.aliyun.com/composer

Global configuration (recommended ) All projects will use this mirror address:

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

Cancel configuration:

composer config -g --unset repos.packagist

The project configuration only modifies the current project configuration. Only the current project can use this mirror address:

composer config repo .packagist composer https://developer.aliyun.com/composer

Unconfiguration:

composer config --unset repos.packagist

Add -vvv to the debugging composer command to output detailed information. The command is as follows:

composer -vvv require nesbot/carbon

Recommended tutorial: "composer"

The above is the detailed content of About Composer using Alibaba Cloud full image. For more information, please follow other related articles on the PHP Chinese website!

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