Home >Development Tools >composer >Latest update in August: Alibaba Cloud Composer full image

Latest update in August: Alibaba Cloud Composer full image

藏色散人
藏色散人forward
2021-08-23 14:59:262091browse

The following column composer tutorial will share with you the full image of Alibaba Cloud Composer. I hope it will be helpful to friends who need it!

Alibaba Cloud official mirror station:

developer.aliyun.com/mirror/

This mirror is synchronized with the official Packagist in real time. It is recommended to use the latest Composer Version.

Latest version: 2.1.6

Download address:

mirrors.aliyun.com/composer/composer.phar

Last update

Official: 2021-08-20 15 :03:58

Alibaba: 2021-08-20 15:07:23205 Complete synchronization within seconds

Cache refresh

Refresh after 0 seconds National CDN cache

Today’s update

Dependencies: 1,850

Version: 2,502

Total statistics

Dependencies: 352,141

Version: 3,159,773

Official error

Package No data: 2,060

Dist Meta Missing: 185,484

Dist 404 Not Found: 45,567

Dist 410 Unavailable: 1,307

Global Configuration (Recommended)

  • All projects will use this mirror address:

    composer config -g repo.packagist composer mirrors.aliyun.com/composer/

  • Unconfiguration:

    composer config -g –unset repos.packagist

##Project configuration

  • Only modify the current project configuration. Only the current project can use this mirror address:

    composer config repo.packagist composer mirrors.aliyun.com/composer/

  • Unconfiguration:

    composer config –unset repos.packagist

Debugging

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

    composer -vvv require alibabacloud/sdk

Encounter problems?

  • 1. It is recommended to upgrade the Composer version to the latest version first:

    composer self-update

  • 2. Execute diagnostic command:

    composer diagnose

  • ##3. Clear cache:
  • composer clear

  • 4. If the project has been installed through other sources before, you need to update the composer.lock file and execute the command:
  • composer update –lock

  • #5. Try again. If you still have problems, please leave feedback in the comments!

The above is the detailed content of Latest update in August: Alibaba Cloud Composer full image. For more information, please follow other related articles on the PHP Chinese website!

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