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

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

vzhabonos/php-whois
===================

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

1.0.0(6mo ago)0457↓50%MITPHPPHP &gt;=7.2

Since Nov 3Pushed 6mo agoCompare

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

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

PHP WHOIS
=========

[](#php-whois)

[![PHP version](https://camo.githubusercontent.com/facf49f38d3f6bf192c14ce71a5e2479a4641044e627d4b7a27e4298a3002704/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344372e322d3838393242462e737667)](https://secure.php.net/)[![Packagist](https://camo.githubusercontent.com/5258d50259e429494d07ea70050b36f108467d9d31e6f52d11cf09d1eaa15019/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f767a6861626f6e6f732f7068702d77686f69732e737667)](https://packagist.org/packages/vzhabonos/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**
- 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 vzhabonos/php-whois

```

or composer.json:

```
"require": {
    "vzhabonos/php-whois": "^1.0"
}

```

Usage
-----

[](#usage)

### Domain lookup

[](#domain-lookup)

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

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

```
