Composer with Proxy
2018-12-17 本文已影响0人
观星汉
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.