PHPackages                             jarvis-ho/php-whois - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. jarvis-ho/php-whois

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

jarvis-ho/php-whois
===================

PHP WHOIS provides parsed and raw whois lookup of domains and ASN routes. PHP 5.4+ and 7+ compatible

4.0.8(5y ago)022MITPHPPHP &gt;=7.2

Since Oct 8Pushed 5y agoCompare

[ Source](https://github.com/JarvisHo/php-whois)[ Packagist](https://packagist.org/packages/jarvis-ho/php-whois)[ Docs](https://github.com/io-developer/php-whois)[ RSS](/packages/jarvis-ho-php-whois/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (44)Used By (0)

PHP WHOIS
=========

[](#php-whois)

[![Build Status](https://camo.githubusercontent.com/07911e8d06810cfae6dcb3dc85edd7238d8e92cd073feb1d5cdd636e872d80bd/68747470733a2f2f7472617669732d63692e6f72672f696f2d646576656c6f7065722f7068702d77686f69732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/io-developer/php-whois)[![PHP version](https://camo.githubusercontent.com/b76bd2ac596779a72f4b132b65cbeb0c3063bc9131fbb823fe65297c00953cb9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344352e342d3838393242462e737667)](https://secure.php.net/)[![Packagist](https://camo.githubusercontent.com/1611275cee14a646ef5643fb4cf277417fe03d2b858683aee6478ec6e8c4c82b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696f2d646576656c6f7065722f7068702d77686f69732e737667)](https://packagist.org/packages/io-developer/php-whois)

PHP WHOIS client implementation. Sends the queries directly to the WHOIS services.

Use case
--------

[](#use-case)

- Raw and parsed domain lookup
- Raw and parsed ASN routes lookup
- Direct queries to TLD/ASN hosts
- Extending and customizing the default hosts, parsers, etc.
- Proxying via CurlLoader

Installation
------------

[](#installation)

##### System requirements:

[](#system-requirements)

- PHP &gt;= **7.2** (previous major version supports **5.4+**)
- php-curl
- php-mbstring
- Open port **43** in firewall

Optional:

- php-intl
- php-memcached + Memcached server

##### Project requirements:

[](#project-requirements)

- PSR-4 autoloader

##### Composer:

[](#composer)

```
composer require io-developer/php-whois

```

or composer.json:

```
"require": {
    "io-developer/php-whois": "^4.0"
}

```

Usage
-----

[](#usage)

### Domain lookup

[](#domain-lookup)

##### How to get summary about domain:

[](#how-to-get-summary-about-domain)

```
