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

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

as207111/whois
==============

Geolocation, Proxy, VPN or Tor exit address detection, for free.

1.0.1(4y ago)2460MITPHP

Since May 23Pushed 4y ago1 watchersCompare

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

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

AS207111 Whois for PHP
======================

[](#as207111-whois-for-php)

[![Total Downloads](https://camo.githubusercontent.com/c48c7c1946306479245b331d8e8f3bac983b34021cadedd7bdda928443aa3a63/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f61733230373131312f77686f6973)](https://packagist.org/packages/as207111/whois)[![Latest Stable Version](https://camo.githubusercontent.com/b702401a045bc91a5a5e4e2c2ff3c8ffa922dd4cdc5c004031c0f0cc8673e359/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61733230373131312f77686f6973)](https://packagist.org/packages/as207111/whois)[![License](https://camo.githubusercontent.com/d05c51900bd16ac696b80a167846be4a65ef4d7a894dcdb41348807f3d2e4b1e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f61733230373131312f77686f6973)](https://packagist.org/packages/as207111/whois)[![Discord](https://camo.githubusercontent.com/370a8a274a1404e0d09e92921a2713abeb12f336c315c5e8c662c1d02a578c99/68747470733a2f2f646973636f72646170702e636f6d2f6170692f6775696c64732f3539303934323233333132363234303236312f656d6265642e706e673f7374796c653d736869656c64)](https://ghostzero.dev/discord)

Geolocation, Proxy, VPN or Tor exit address detection, for free.

AS207111 provides a free Whois service for content customization, advertising, digital rights management, compliance, fraud &amp; proxy detection, security and more.

You will always have the most accurate location data available for every API request, without having to worry about maintaining a local database. For Proxy, VPN or Tor exit address detection, we use machine learning &amp; probability theory techniques using large datasets from different sources with 11,500+ networks from 2,200+ privacy providers.

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

[](#installation)

The recommended way to install AS207111 Whois is through Composer.

```
composer require as207111/whois
```

Getting Started
---------------

[](#getting-started)

First, request a free api access token from  to get access to all api features, including all premium features, like privacy lookups.

Then initialize a new `Client` with your API Access Token and call the `whois` method to lookup any IPv4 or IPv6 address.

```
use AS207111\Whois\Client;

require_once __DIR__ . '/vendor/autoload.php';

$client = new Client('your-api-access-token');

$ipAddress = '2001:67c:770::';

$result = $client->whois(['ip_address' => $ipAddress]);

if ($result->isSuccess()) {
    $usingVpn = $result->getData()->privacy->proxy;

    if ($usingVpn) {
        print(sprintf('%s is using a proxy service like vpn, proxy or tor!', $ipAddress));
    } else {
        print(sprintf('%s is not using a proxy service!', $ipAddress));
    }
} else {
    print('Cannot reach whois database.');
}
```

API Response Reference
----------------------

[](#api-response-reference)

```
{
    "ip": "2001:67c:770::1",
    "city": "Cologne",
    "postal": "50733",
    "region": "NW",
    "country": "DE",
    "lat": 50.9655,
    "lon": 6.95378,
    "timezone": "Europe/Berlin",
    "asn": {
        "asn": 207111,
        "name": "PREUSS-AS",
        "isp": "Rene Preuss",
        "network": "2001:67c:770::/48"
    },
    "company": {
        "name": "Rene Preuss"
    },
    "privacy": {
        "proxy": false,
        "hosting": false,
        "mobile": false
    }
}
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1821d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/03da561a330aa76d1a09096b2ee0c48ee53ca51d62fa0239469d9615b6855733?d=identicon)[ghostzero](/maintainers/ghostzero)

---

Top Contributors

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

---

Tags

geolocationip2locationvpn-detectionwhois

### Embed Badge

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

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

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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