nousefreak/proxy

This package is abandoned and no longer maintained. No replacement package was suggested.

A simple proxy..

dev-master 2013-02-20 22:49 UTC

This package is auto-updated.

Last update: 2020-01-29 23:11:25 UTC


README

A simple php proxy.

Usage

$request = \Symfony\Component\HttpFoundation\Request::createFromGlobals();

$configuration = new \Proxy\Configuration();
$configuration->setBackend('nousefreak.be');

$proxy = new \Proxy\Proxy();
$proxy->setConfiguration($configuration);

$response = $proxy->proxy($request);
$response->send();