Get whois for any domain whose registry supports whois protocol
Branch: master
Clone or download
Latest commit 64eae6f Jun 9, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Jun 9, 2018
README.md Update README.md Jun 9, 2018
UWhois.php v1.0.3 Jun 9, 2018
cli.php v1.0.0 Jun 9, 2018

README.md

UWhois

It will request IANA and get the whois server of TLDs, so it can fetch whois of the latest TLDs. However, some registries do not allow you to fetch whois in this way, so you need to request authorization by yourself.

Usage

include('UWhois.php');
$Whois = new UWhois;
$result = $Whois->get('google.com');

You can use php cli.php google.com to have a try.