petk / phpwhois
Whois for PHP
Installs: 52 822
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 2
Forks: 8
Open Issues: 0
Requires
- php: >=8.1
- ext-intl: *
Requires (Dev)
- phpunit/phpunit: ^10.2
This package is auto-updated.
Last update: 2025-01-18 20:52:17 UTC
README
About
Warning: This library is in development phase and is not stable for real usage yet.
PhpWhois library is inspired by PHPWhois.org library and others, but aims to be updated for more recent version of PHP and with more domain servers.
Requirements
PhpWhois library requires PHP 8.1.
Documentation
Installation
You can install the PhpWhois library with Composer (recommended way):
composer require petk/phpwhois
Autoloading
You can load PhpWhois library by using Composer's autoloader:
<?php // index.php require('vendor/autoload.php'); use PhpWhois\Whois; $whois = new Whois('yourdomain.tld'); echo $whois->lookup();
License
This library is licensed under the MIT License.