PHPackages                             cccyun/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. cccyun/php-whois

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

cccyun/php-whois
================

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

1.3(3mo ago)5453↓12.5%2MITPHPPHP &gt;=7.2

Since Apr 28Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/netcccyun/php-whois)[ Packagist](https://packagist.org/packages/cccyun/php-whois)[ Docs](https://github.com/netcccyun/php-whois)[ RSS](/packages/cccyun-php-whois/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

PHP WHOIS
=========

[](#php-whois)

[![PHP version](https://camo.githubusercontent.com/facf49f38d3f6bf192c14ce71a5e2479a4641044e627d4b7a27e4298a3002704/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344372e322d3838393242462e737667)](https://secure.php.net/)[![Packagist](https://camo.githubusercontent.com/9079ab30b83d849a0cbe1ab5ea4ddd1fc386e7c4a43e284c9ae7c804d1d77d0d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63636379756e2f7068702d77686f69732e737667)](https://packagist.org/packages/cccyun/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** (old versions 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 cccyun/php-whois

```

or composer.json:

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

```

Usage
-----

[](#usage)

### Domain lookup

[](#domain-lookup)

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

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

```
