Whois client based on React.
The recommended way to install react/whois is through composer.
{
"require": {
"react/whois": "0.1.*"
}
}
<?php
$client = new React\Whois\Client($resolver, $connFactory);
$client
->query('igor.io')
->then(function ($result) {
echo $result;
});
To run the test suite, you need PHPUnit.
$ phpunit
MIT, see LICENSE.