Skip to content

Simple PHP library for performing WHOIS lookups on domain names.

License

Notifications You must be signed in to change notification settings

SCLInternet/SclWhois

Repository files navigation

WHOIS Server Lookup Library

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');

About

Simple PHP library for performing WHOIS lookups on domain names.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages