sclinternet/scl-whois

Library for performing whois lookups on domain names

dev-master 2013-06-02 20:38 UTC

This package is not auto-updated.

Last update: 2024-11-09 14:14:24 UTC


README

Build Status Coverage Status

Performs a whois lookup on a given domain name.

Requires

sclinternet/SclSocket

Intallation

Add the following to your composer.json file

{
    "require": {
        "sclinternet/scl-whois": "dev-master"
    }
}

Usage

Create an instance of the DomainLookup object passing in a SclSocket\SocketInterface and call lookup().

$whois = new \SclWhois\DomainLookup(new \SclSocket\Socket);

echo $whois->lookup('google.com');