1. Go to this page and download the library: Download mashinamashina/request 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/ */
mashinamashina / request example snippets
use MashinaMashina\Request\Request;
$request = new Request('https://github.com');
$request->send();
echo $request->response;
use MashinaMashina\Request\Request;
$request = new Request('http://google.com');
$request->session('google');
$request->send();
if( $request->error())
{
echo $request->dump();
die();
}