GeoIP2 PHP API v3.2.0

AnonymousPlus extends AnonymousIp
in package

This class provides the GeoIP Anonymous Plus model.

Table of Contents

Properties

$anonymizerConfidence  : int|null
$ipAddress  : string
$isAnonymous  : bool
$isAnonymousVpn  : bool
$isHostingProvider  : bool
$isPublicProxy  : bool
$isResidentialProxy  : bool
$isTorExitNode  : bool
$network  : string
$networkLastSeen  : string|null
$providerName  : string|null

Methods

jsonSerialize()  : array<string, mixed>|null

Properties

$anonymizerConfidence read-only

public int|null $anonymizerConfidence

a score ranging from 1 to 99 that is our percent confidence that the network is currently part of an actively used VPN service

$ipAddress read-only

public string $ipAddress

the IP address that the data in the model is for

$isAnonymous read-only

public bool $isAnonymous

this is true if the IP address belongs to any sort of anonymous network

$isAnonymousVpn read-only

public bool $isAnonymousVpn

This is true if the IP address is registered to an anonymous VPN provider. If a VPN provider does not register subnets under names associated with them, we will likely only flag their IP ranges using the isHostingProvider property.

$isHostingProvider read-only

public bool $isHostingProvider

this is true if the IP address belongs to a hosting or VPN provider (see description of isAnonymousVpn property)

$isPublicProxy read-only

public bool $isPublicProxy

this is true if the IP address belongs to a public proxy

$isResidentialProxy read-only

public bool $isResidentialProxy

this is true if the IP address is on a suspected anonymizing network and belongs to a residential ISP

$isTorExitNode read-only

public bool $isTorExitNode

this is true if the IP address is a Tor exit node

$network read-only

public string $network

The network in CIDR notation associated with the record. In particular, this is the largest network where all of the fields besides $ipAddress have the same value.

$networkLastSeen read-only

public string|null $networkLastSeen

The last day that the network was sighted in our analysis of anonymized networks. This is in the ISO 8601 date format, e.g., "2025-04-21".

$providerName read-only

public string|null $providerName

The name of the VPN provider (e.g., NordVPN, SurfShark, etc.) associated with the network.

Methods

jsonSerialize()

public jsonSerialize() : array<string, mixed>|null
Return values
array<string, mixed>|null

        
On this page

Search results