composer update 更新依赖太慢,所以得想办法让composer能走系统代理,因为我已经安装了clash for windows,代理端口是 7890。
思路是让命令行走系统代理,在cmd里执行如下命令
set http_proxy=http://127.0.0.1:7890 & set https_proxy=http://127.0.0.1:7890
然后再试下执行composer updateh有没有走代理
composer update -vvv
不出意外应该能看到 ... using proxy (http://127.0.0.1:7890) 的字样
