Skip to content
PHP class to retrieve WHOIS information.
PHP
Branch: master
Clone or download
vaneska Merge pull request #58 from akzhan/patch-1
Fatal error: Class 'Phois\Whois\Whois' not found - Closes #56
Latest commit 1b321ec Jun 16, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Fatal error: Class 'Phois\Whois\Whois' not found - Closes #56 Jun 2, 2016
src/Phois/Whois typo space Oct 15, 2015
.gitignore add PHPStorm files to .gitignore Mar 12, 2015
README.md made composer friendly Mar 24, 2014
composer.json add ext-curl to dependencies Mar 12, 2015

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.