phar-io / composer-distributor

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

Does not support proxies (HTTP_PROXY) #22

Closed croensch closed 11 months ago

croensch commented 2 years ago

Probably because the HTTP client is very much native. But if i'm not mistaken a stream-context could be created.

heiglandreas commented 2 years ago

I'll take a look at it. What would be your reasoning for using a proxy in this scenario? Debugging?

croensch commented 2 years ago

I was installing phpdocumentor/shim, which makes use of this plugin, in a docker container on a ci system that only has internet access via proxy.

heiglandreas commented 2 years ago

I'll see to a fast fix for that!

sebastianfeldmann commented 11 months ago

This was fixed in version 1.0.1