Proxy for composer
Before run command composer
, run the follow command setup proxy for terminal temporary.
export http_proxy='127.0.0.1:1087'
export https_proxy='127.0.0.1:1087'
composer install
leo@Hac:~$ export http_proxy='127.0.0.1:1087'
leo@Hac:~$ export https_proxy='127.0.0.1:1087'
leo@Hac:~$ composer install
BTW: local proxy service need built by yourself.
网友评论