Phpnuget fails to fetch nuget packages from external servers (for importing them) if all network traffic must pass a central http[s] proxy. In this PR I propose the following:
Use a configured http proxy when fetching external nuget packages. If the configuration option is not set, try to retrieve the value of the http_proxy environment variable and use that as the proxy. If both fails, don't use a proxy.
Phpnuget fails to fetch nuget packages from external servers (for importing them) if all network traffic must pass a central http[s] proxy. In this PR I propose the following:
Use a configured http proxy when fetching external nuget packages. If the configuration option is not set, try to retrieve the value of the http_proxy environment variable and use that as the proxy. If both fails, don't use a proxy.