phois/whois

Whois client.

Installs: 82 230

Dependents: 1

Suggesters: 0

Security: 0

Stars: 364

Watchers: 67

Forks: 189

Open Issues: 50

dev-master 2022-08-11 14:41 UTC

This package is not auto-updated.

Last update: 2024-04-28 20:46:05 UTC


README

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";
}