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!