PHPackages                             sokolnikov911/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. sokolnikov911/whois

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sokolnikov911/whois
===================

Library for obtaining values from whois command

225PHP

Since May 7Pushed 10y ago1 watchersCompare

[ Source](https://github.com/sokolnikov911/Whois)[ Packagist](https://packagist.org/packages/sokolnikov911/whois)[ RSS](/packages/sokolnikov911-whois/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Whois, 'whois' command parser for PHP
=====================================

[](#whois-whois-command-parser-for-php)

Simple values parser from console 'whois' command

How to use
----------

[](#how-to-use)

For example for obtaining NetName of IP address:

```
$whois = new Whois('8.8.8.8');
$answer = $whois->getProperty('netname');
print $answer; // LVLT-GOGL-8-8-8
```

Or, for obtaining 'Admin Email' of domain:

```
$whois = new Whois('google.com');
$answer = $whois->getProperty('admin email');
print $answer; // dns-admin@google.com
```

All properties should be in lowercase.

Installing Whois
----------------

[](#installing-whois)

```
# Install Composer
curl -sS https://getcomposer.org/installer | php
```

Next, run the Composer command to install the latest stable version of Whois

```
php composer.phar require sokolnikov911/whois
```

After installing, you need to require Composer's autoloader:

```
require 'vendor/autoload.php';
```

You can then later update Whois using composer:

```
composer.phar update
```

Requirements
------------

[](#requirements)

This class requires installed console 'whois' package for Unix/Linux system.

License
-------

[](#license)

This library is licensed under the MIT License.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/97a1cefec9fcbf213bb9a2db1f26e21b6ccb750984727256dd9833c5b27f25ae?d=identicon)[sokolnikov911](/maintainers/sokolnikov911)

---

Top Contributors

[![sokolnikov911](https://avatars.githubusercontent.com/u/11427142?v=4)](https://github.com/sokolnikov911 "sokolnikov911 (13 commits)")

### Embed Badge

![Health badge](/badges/sokolnikov911-whois/health.svg)

```
[![Health](https://phpackages.com/badges/sokolnikov911-whois/health.svg)](https://phpackages.com/packages/sokolnikov911-whois)
```

###  Alternatives

[phpexiftool/exiftool

Exiftool is a library for reading, writing and editing meta information. This package is not PHP, but required for the main PHP driver : PHP Exiftool

29390.0k7](/packages/phpexiftool-exiftool)[mageplaza/module-share-cart

Magento 2 Share Cart extension

12195.2k2](/packages/mageplaza-module-share-cart)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
