PHP code example of edgetelemetrics / reactphp-http-browser-curl
1. Go to this page and download the library: Download edgetelemetrics/reactphp-http-browser-curl 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/ */
edgetelemetrics / reactphp-http-browser-curl example snippets
$browser = new Browser([
CURLOPT_TIMEOUT => 20,
CURLOPT_DOH_URL, 'https://1.1.1.1/dns-query',
CURLOPT_DNS_SERVERS => '1.1.1.1',
]);