NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2833 most downloaded on Packagist
PHP WHOIS provides parsed and raw whois lookup of domains and ASN routes. PHP 5.4+ and 7+ compatible
Latest stable
4.1.10
Last release 4 years ago
no release in 18 months
Ships unpredictably
gaps range from 8 days to 1.3 years
Most releases are documented
notes for 40 of 45 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
45 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
* Add UDR TLDs
Fixed strict typing fatal error on whois response
Abandoned punycode impl replaced by intl polyfill
declare(strict_types=1)docker-compose.yml and github flow for unit tests.devcontainer for VSCodeYour coding agent can read these notes before it upgrades. Set up the MCP server →
* #186: Add the flag --show-handles to get owner information from whois.dk-hostmaster.dk
--show-handles to get owner information from whois.dk-hostmaster.dkFixed DataObject: jsonSerialize: add returntype / PHP 8.1 (fixes #182)
* Added .tube, .health * Tests for .health
TLD updates Parser fixes
Updated TLDs
CLI (/bin/php-whois) improvements
Added cli script ./bin/php-whois
./bin/php-whoisAdded / fixed support for: .plus .group .team .ren .llc .cologne .koeln .dog .market .art .se .srl .cafe .promo .jewelry .gay .studio .loan
Refactored data objects. Property methods are deprecated - use properties instead
Updated reserved words for RU/SU
Nothing published for this version
* Added .IR, .BM, .LTD * Improved parsing
Added/corrected whois servers for: .es .ar .inc .page .xin .baby .news
whois.ksregistry.net by actual* Added .store #65 * Fixed .de parsing #71 * Fixed unicode converting #66
Added __.app__ zone to server list
Test coverage for: .JP .AM .AS .BG .BN .CF
Fixed .dev hosts in default TLD config
Fixed .dev hosts in default TLD config
* Added cURL loader * Added Proxy section to README * Minor fixes
Added customizable timeout for SocketLoader
* Added __.BLOG__ to server list
* Parsing impovements * Test covered .NZ zone
Added *codepen.io* test case for .IO zone
Added getParserType() to DomainInfo to know which parser was used
$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"
}
}
Nothing published for this version
Major refactoring of TLD parsers
TLD server config fixes and improvements
Implemented patterns for Server zone. Now is possible to set-up fallback servers like .com.* or .*
Nothing published for this version
Fixed 'WHOIS * LIMIT EXCEEDED' case. Now it throws WhoisException
Fixed parsing error in some cases
Nothing published for this version
Test covered response parsing for: .ai .ao .at .bo .br .cr .cz .de .dk .dm .ee .fi .fr .gd .hr .ie .il .is .it .kz .lt .lu .lv .mk .no .nu .pl .pr .ro
Improves for domain info parsing
Added passing tests of available domains for lots of zones
Added lots of default whois hosts
Fixed not starting socket response loading for some whois hosts
* Updated tests * Fixed MIT license file * Added badgets to readme
Project structure major refactoring
* Refactored response loading * Integrated phpunit
Nothing published for this version
Refactored library architecture
* __PSR-*__ compatible sources * __Composer.json__
One column per quarter.