PHP code example of gorlovka / proxy-request-builder

1. Go to this page and download the library: Download gorlovka/proxy-request-builder 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/ */

    

gorlovka / proxy-request-builder example snippets




use Proxyrequest\ProxyRequestGet;

$proxyRequestGet = new ProxyRequestGet();
echo $proxyRequestGet->sendRequest();



use Proxyrequest\ProxyRequestRotate;

$proxyRequestRotate = new ProxyRequestRotate('URL_TO_GET', 'PRIVATE_TOKEN_KEY_HERE');
echo $proxyRequestRotate->sendRequest();