2017 © Pedro Peláez
 

module zf3-whois

image

nocvp/zf3-whois

  • Saturday, December 10, 2016
  • by semihs
  • Repository
  • 3 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Zf3 Whois Query

This module uses the phois/whois, (*1)

Installation

For the installation uses composer composer. Add this project in your composer.json:, (*2)

"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, (*3)

The Versions

10/12 2016