|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not yet rated by the users||Total: 70 ||All time: 10,131 This week: 115|
This package can be used to forward HTTP requests to other servers as a proxy.
It can work as a proxy server that can be configured to handle HTTP requests from Web browsers or other types of programs to forward the requests to destination HTTP servers.
The package can also forward requests to specific remote Web servers with URLs passed manually to the proxy server class.
Simple Php Proxy based on Guzzle.
composer require frdl/proxy
...or the Webfan Installer if you would like to build a larger project.
$proxy = (new Proxy(null,
'green.example.com', //target host
$_SERVER['HTTP_HOST'], //User Input, forward optionaly*
->withFakeHost(true) //*Do overwrite/not use users host header
Internally the proxy ignores the
bounce-detection silently to fallback to any localhost scripts.
You can use it before/without handling the HTTP-Forwarding, e.g. to perform a (test-)request on the same host.
$proxy = (new Proxy('blue',
'blue.example.com', //target host
'example.com', //set the host header on the target script
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.