This library is very heavily based on the Ruby libraries whois and whois-parser. It's a work in progress and a lot of parsers are not yet available.
I know there are other whois libraries for PHP that exists but I don't like how they returns the data. A cleaner and standard structure was important for me so I decided to create this package.
Absolutely not ready for production usage yet. I might make some breaking changes in the upcoming weeks. Use at your own risk.
- PHP >= 5.4.0
composer require fuitad/vwhois
use vWhois\vWhois;
$vWhois = new vWhois();
$whoisResult = $vWhois->lookup('google.com');
Again, this library wouldn't exist without the awesome whois and whois-parser ruby gems.
Pull requests are welcome. So many parsers are needed for all them TLDs O_o.
This is Free Software distributed under the MIT license.