Skip to content
forked from regru/php-whois

PHP class to retrieve WHOIS information.

Notifications You must be signed in to change notification settings

ruiz107/php-whois

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-whois

PHP class to retrieve WHOIS information.

Example of usage


<?php

$domain = 'uol.com.br';

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

$whois_answer = $whois->info();
$nsServers = $whois->getNsServers();

echo $whois_answer;

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

About

PHP class to retrieve WHOIS information.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PHP 100.0%