Skip to content

Instantly share code, notes, and snippets.

@rtuin
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rtuin/7f00ad122d7210228e1a to your computer and use it in GitHub Desktop.
Save rtuin/7f00ad122d7210228e1a to your computer and use it in GitHub Desktop.
Make guzzle use a proxy using the curl options
<?php
$request->getCurlOptions()->add(CURLOPT_PROXY, 'tcp://192.168.56.1:8888');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment