Skip to content
master
Switch branches/tags
Code

Latest commit

Fatal error: Class 'Phois\Whois\Whois' not found - Closes #56
1b321ec

Git stats

Files

Permalink
Failed to load latest commit information.

php-whois

PHP class to retrieve WHOIS information.

Example of usage

<?php

$sld = 'reg.ru';

$domain = new Phois\Whois\Whois($sld);

$whois_answer = $domain->info();

echo $whois_answer;

if ($domain->isAvailable()) {
    echo "Domain is available\n";
} else {
    echo "Domain is registered\n";
}

About

PHP class to retrieve WHOIS information.

Resources

Releases

No releases published

Packages

No packages published

Languages