Skip to content

Repository files navigation

React/Whois

Whois client based on React.

Build Status

Install

The recommended way to install react/whois is through composer.

{
"require": {
"react/whois": "0.1.*"
}
}

Example

<?php$client = newReact\Whois\Client($resolver, $connFactory);
$client
->query('igor.io')
->then(function ($result) {
echo$result;
});

Todo

  • Provide convenience connection factory (maybe in react core)
  • Use react/dns dependency once it is merged
  • Streaming whois body
  • Timeout

Tests

To run the test suite, you need PHPUnit.

$ phpunit

License

MIT, see LICENSE.

Resources

About

Whois client based on ReactPHP.

Resources

Stars

69 stars

Watchers

7 watching

Forks

Releases

Packages

Used by

Contributors

Languages