nocvp/zf3-whois

There is no license information available for the latest version (dev-master) of this package.

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Type:module

dev-master 2016-12-10 14:15 UTC

This package is not auto-updated.

Last update: 2024-03-16 17:04:36 UTC


README

This module uses the phois/whois

Installation

For the installation uses composer composer. Add this project in your composer.json:

"require": {
    "nocvp/zf3-whois": "dev-master"
}

Examples

Default use of Zf3 Whois

$whoisService = $container->get('whois');
$whois = $whoisService->query('example.org');

echo $whois->info();
echo $whois->isAvailable() ? 'available' : 'not available';

or in your controller

$whois = $this->whois('example.org');
echo $whois->info();
echo $whois->isAvailable() ? 'available' : 'not available';

Contributors

Semih SARI - semih.sari@noc.com.tr