Skip to content

Lander931/php-whois

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-whois

PHP class to retrieve WHOIS information.

Example of usage

<?php

$sld = 'reg.ru';

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

$whois_answer = $domain->info();

echo $whois_answer;

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

Proxy

$sld = 'reg.ru';

$domain = new \Lander931\Whois\Whois($sld, [
    'host' => '127.0.0.1',
    'port' => '30000',
    'user' => 'user',
    'pass' => 'secret'
]);

About

PHP class to retrieve WHOIS information.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%