Skip to content
PHP class to retrieve WHOIS information.
PHP
Branch: master
Clone or download
Pull request Compare This branch is 4 commits behind regru:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
src/Phois/Whois
.gitignore
README.md
composer.json

README.md

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";
}
You can’t perform that action at this time.