Answer the question
In order to leave comments, you need to log in
How to use composer via http proxy server?
Hello.
I am using http proxy at work. As a result, I can't use composer.
When I try to update it says:
The " https://packagist.org/packages.json " file could not be downloaded: failed to open stream: the destination computer denied
the connection request.
https://packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date
Updating dependencies (including require-dev)
Answer the question
In order to leave comments, you need to log in
export HTTP_PROXY="http://my-corp-proxy.llc"
composer install
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question