chanshige/whois

'chanshige/whois' is that helps your domain registered information(whois) search.

2.0.0 2017-08-16 14:37 UTC

README

Build Status Coverage Status

whois-php

domain registered information(whois) search.

Installation

With Composer

$ composer require chanshige/whois '^2.0'

usage

<?php
require __DIR__ . '/vendor/autoload.php';
use Chanshige\Whois;

$whoisServer = 'whois.internic.net';
$domainName = 'root-servers.net';

$whois = new Whois();
$result = $whois->query($whoisServer, $domainName);

echo nl2br($result);