composer设置代理、CMD、powershell设置代理

cmd:
set http_proxy=127.0.0.1:1080
powershell:
$env:http_proxy="127.0.0.1:1080"
$env:https_proxy="127.0.0.1:1080"

http_proxy 用于http链接

https_proxy 用于https链接