Releases: io-developer/php-whois
Releases · io-developer/php-whois
v3.3.0
- Added cURL loader
- Added Proxy section to README
- Minor fixes
v3.2.6
- Added .SITE to server list
- Added customizable timeout for SocketLoader
- SocketLoader throws more detailed exceptions on connection error
v3.2.5
- Added .BLOG to server list
v3.2.4
- Parsing impovements
- Test covered .NZ zone
v3.2.3
- Parsing impovements
- Test covered .CM zone
- Added codepen.io test case for .IO zone
v3.2.2
- Fixed .com default TLD server
- Test covered .be zone
- Added getParserType() to DomainInfo to know which parser was used
- Added getLastUsedServers() to TldModule to get list of used servers before result
$w = Whois::create();
$isAvailable = $w->isDomainAvailable('test.some.ru');
$usedServers = $w->getTldModule()->getLastUsedServers();
var_dump([
'$isAvailable' => $isAvailable,
'$usedServers' => array_map(function(TldServer $s) { return $s->getHost(); }, $usedServers),
]);
Output:
array(2) {
["$isAvailable"]=>
bool(true)
["$usedServers"]=>
array(3) {
[0]=>
string(15) "whois.tcinet.ru"
[1]=>
string(12) "whois.nic.ru"
[2]=>
string(14) "whois.ripn.net"
}
}
v3.2.1
- Removed debug file writing
v3.2.0
- Major refactoring of TLD parsers
- Default TLD parser type changed from COMMON to AUTO (provides best result between parsed)
- Fixed encoding conversion on response loading
- Fixed warnings on response loading
v3.1.1
- TLD server config fixes and improvements
v3.1.0
- Implemented patterns for Server zone. Now is possible to set-up fallback servers like .com.* or .*
- Test covered response parsing for .EU
- Minor fixes