Regarding the replacement of composer image address

藏色散人
Release: 2020-07-07 13:09:42
forward
3034 people have browsed it

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/
Copy after login

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!

Related labels:
source:cnblogs.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template