big-dream/whois

Whois client.

Installs: 5

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 192

pkg:composer/big-dream/whois

1.0.0 2019-08-06 03:29 UTC

This package is auto-updated.

Last update: 2025-09-19 21:22:41 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";
}