Composer 下載較慢的問題解決

芭菲雨發表於2019-12-15

首先參考霹靂神部落格:
https://www.pilishen.com/posts/packages-in...

再分享幾個Composer / Packagist 中國全量映象

https://php.cnpkg.org/(每 60 秒同步一次)

composer config -g repos.packagist composer https://php.cnpkg.org
#或者
composer config -g repo.packagist composer  https://mirrors.aliyun.com/composer
#或者
composer config -g repo.packagist composer https://packagist.laravel-china.org

然後清空composer快取

composer clearcache

相關文章