PHPackages                             dohub/phpwhois - 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. dohub/phpwhois

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

dohub/phpwhois
==============

whois

05[1 PRs](https://github.com/22cloud/phpwhois/pulls)PHP

Since Nov 30Pushed 6y agoCompare

[ Source](https://github.com/22cloud/phpwhois)[ Packagist](https://packagist.org/packages/dohub/phpwhois)[ RSS](/packages/dohub-phpwhois/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Installation
============

[](#installation)

### Via composer

[](#via-composer)

#### Stable version

[](#stable-version)

`php composer.phar require "dohub/phpwhois":"dev-dev"`

#### Latest development version

[](#latest-development-version)

`php composer.phar require "dohub/phpwhois":"dev-master"`

Example usage
=============

[](#example-usage)

(see `example.php`)

```
// Load composer framework
if (file_exists(__DIR__ . '/vendor/autoload.php')) {
    require(__DIR__ . '/vendor/autoload.php');
}

use phpwhois;
$name = isset($_GET['name'])?$_GET['name']:'skxx.cn';
$use = new phpwhois\Whois();

if(!$result = $use->lookup($name)){
    print_r($use->getError());
    exit;
}
echo $raw = $use->getRawData();
print_r($result);
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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/023d341b9b2260299d78509cbd4efb4927eae87585ea3118d133c5716169c7d8?d=identicon)[22cloud](/maintainers/22cloud)

---

Top Contributors

[![22cloud](https://avatars.githubusercontent.com/u/38741882?v=4)](https://github.com/22cloud "22cloud (5 commits)")

### Embed Badge

![Health badge](/badges/dohub-phpwhois/health.svg)

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

###  Alternatives

[workerman/statistics

3532.8k](/packages/workerman-statistics)[workbunny/webman-nacos

Webman plugin workbunny/webman-nacos

673.9k](/packages/workbunny-webman-nacos)[flipsite/flipsite

Static website compiler that scores 100/100 on all Lighthouse tests

182.3k](/packages/flipsite-flipsite)

PHPackages © 2026

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