react/whois
This package is abandoned and no longer maintained.
No replacement package was suggested.
Whois client based on React.
Maintainers
v0.2.0
2013-08-07 22:13 UTC
Requires
- php: >=5.3.2
- react/curry: 1.0.*
- react/dns: 0.3.*
- react/promise: ~1.0
- react/socket: 0.3.*
- react/stream: 0.3.*
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT c62d19b0ae538615195925fd0b61e46869931c16
This package is auto-updated.
Last update: 2019-02-20 19:25:31 UTC
README
Whois client based on React.
Install
The recommended way to install react/whois is through composer.
{
"require": {
"react/whois": "0.1.*"
}
}
Example
<?php $client = new React\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.
