sclinternet / scl-whois
Library for performing whois lookups on domain names
dev-master
2013-06-02 20:38 UTC
Requires
- php: >=5.3.0
- sclinternet/scl-socket: dev-master
Requires (Dev)
- phpmd/phpmd: 1.4.0
- phpunit/phpunit: 3.7.*
- satooshi/php-coveralls: dev-master
- squizlabs/php_codesniffer: 1.*
This package is not auto-updated.
Last update: 2024-12-21 14:48:00 UTC
README
Performs a whois lookup on a given domain name.
Requires
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');