phar-io / composer-distributor

Distribute PHAR files via Composer
Other
12 stars 2 forks source link

Allow to use a proxy for downloads #23

Closed heiglandreas closed 2 years ago

heiglandreas commented 2 years ago

This change will make it possible to provide a proxy when downloading.

For that the content of the environment-variable HTTP_PROXY is used. Alternatively one can also use http_proxy (as used by curl) can be used.

For proxy-authentication you can set user and password for basic-authentication via the environment variable HTTP_PROXY_AUTH

This addresses #22