aquy/yii2-whois

Whois client for yii2.

Maintainers

Details

github.com/aquy/yii2-whois

Source

Installs: 2 244

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 191

Type:yii2-extension

0.1 2015-07-01 13:46 UTC

This package is auto-updated.

Last update: 2024-10-29 04:04:02 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";
}