PHP Composer behind http proxy
I use composer on a network where the only way to access the internet is using HTTP or socks proxy. I have http_proxy and https_proxy environment variables. When compose tries to access HTTPS URLs I get this: file could not be downloaded: failed to open stream: Cannot connect to HTTPS server through proxy As far as I know the only way to connect to a https website is using a connect verb. How can I use composer behind this proxy? If you're on Linux or Unix (including OS X), you should put this somewhere that will affect your environment: export HTTP_PROXY_REQUEST_FULLURI=0 # or false export