PHP code example of yousafsyed / standalone_php_proxy
1. Go to this page and download the library: Download yousafsyed/standalone_php_proxy library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
yousafsyed / standalone_php_proxy example snippets
use YousafSyed\ProxyServer;
$server = new ProxyServer(); // optional parameters for port and host like this new ProxyServer('8080','localhost')
// finally run the server
$server->run();
$ php server.php