1. Go to this page and download the library: Download oarkhipov/whois 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/ */
use Oarkhipov\Whois\Fetcher;
$fetcher = new Fetcher();
use Oarkhipov\Whois\Fetcher;
class TestController extends Controller
{
private $whoisFetcher;
public function __construct(Fetcher $fetcher)
{
$this->whoisFetcher = $fetcher;
}
}
$fetcher = $this->app->make('whois');
$whois = $fetcher->fetch('http://facebook.com');
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.