Documentation

ProxyCheck
in package

A class that talk to proxycheck.io in order to get information about IP addresses

You need an API key to use the system

Tags
link
http://proxycheck.io/
psalm-suppress

PossiblyUnusedMethod

Table of Contents

PCURL  = 'https://proxycheck.io/v2/'
check()  : array<, string>
Check an IP address

Constants

PCURL

private mixed PCURL = 'https://proxycheck.io/v2/'

Methods

check()

Check an IP address

public static check(string $key, string $ip, array<, string> $options[, string|null $tag = NULL ]) : array<, string>
Parameters
$key : string

Your API key

$ip : string

The IP address to check

$options : array<, string>

Options for the check - see proxycheck.io API definition

$tag : string|null = NULL

A tag to identify this call.

Return values
array<, string>

Search results