fuitad / vwhois
PHP Whois Client and Parser
Requires
- php: >=5.4.0
- nesbot/carbon: ^1.22
- strscan/strscan: ^1.0.3
Requires (Dev)
- phpunit/phpunit: 4.4.1
- symfony/var-dumper: *
This package is auto-updated.
Last update: 2024-12-27 01:28:24 UTC
README
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.
Requirements
- PHP >= 5.4.0
Installation
composer require fuitad/vwhois
How to use
use vWhois\vWhois; $vWhois = new vWhois(); $whoisResult = $vWhois->lookup('google.com');
Credits
Again, this library wouldn't exist without the awesome whois and whois-parser ruby gems.
Contributing
Pull requests are welcome. So many parsers are needed for all them TLDs O_o.
License
This is Free Software distributed under the MIT license.