Home>Article>Development Tools> Regarding the replacement of composer image address
The following tutorial column ofcomposerwill introduce the composer automatic loading mechanism from shallow to deep. I hope it will be helpful to friends in need!
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!