Home  >  Article  >  Development Tools  >  Regarding the replacement of composer image address

Regarding the replacement of composer image address

藏色散人
藏色散人forward
2020-07-07 13:09:253022browse

The following tutorial column of composer will introduce the composer automatic loading mechanism from shallow to deep. I hope it will be helpful to friends in need!

Regarding the replacement of composer image address

If you are using laravel-china.org get the composer image. Then when executing the update recently, an error will be reported:

Don’t panic, this is because laravel-china.org has stopped updating composer. Now we can change to Alibaba Cloud composer

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

to perform the update.

Get it done

Alibaba Cloud has officially launched the PHP Composer full image. All PHP developers can use our developer community developer.aliyun.com /composer speeds up the Composer installer.

The biggest advantage of this mirroring tool is that it is fast. It can achieve almost real-time synchronization with the PHP Packagist official website and refresh the national CDN cache every 30 seconds. It develops a synchronization system based on Alibaba Cloud's object storage OSS and CDN, and achieves fast and stable synchronization through task distribution.

Official address: https://developer.aliyun.com/composer

The above is the detailed content of Regarding the replacement of composer image address. For more information, please follow other related articles on the PHP Chinese website!

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