2017 © Pedro Peláez
 

library iphub

VPN/Proxy/Server Detector using IPHub API

image

finpaytech/iphub

VPN/Proxy/Server Detector using IPHub API

  • Sunday, March 4, 2018
  • by atlpay
  • Repository
  • 0 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

iphub

VPN/Proxy/Server Detector using IPHub API, (*1)

Installation

composer require finpaytech/iphub, (*2)

Requirement

PHP 5.5+ with cURL extension enabled, (*3)

Usage Example

$ip = $_SERVER['REMOTE_ADDR'];
try {
    $block = IPHub::isBadIP( $ip, "IP HUB API Key" );
    if($block == 1){
        die("Request blocked as you appear to be browsing from a VPN/Proxy/Server. Please contact support if you believe this is a mistake.");      
    }
} catch (\Exception $e) {
    $block = false;
}

API Documentation

API documentation can be found here : https://docs.iphub.info/documentation/, (*4)

The Versions

04/03 2018

dev-master

9999999-dev

VPN/Proxy/Server Detector using IPHub API

  Sources   Download

MIT

The Requires

  • php ^5.5 || ^7.0
  • ext-mbstring *
  • ext-curl *

 

by Systems

04/03 2018

1.0.2

1.0.2.0

VPN/Proxy/Server Detector using IPHub API

  Sources   Download

MIT

The Requires

  • php ^5.5 || ^7.0
  • ext-mbstring *
  • ext-curl *

 

by Systems

26/01 2018

1.0.1

1.0.1.0

VPN/Proxy/Server Detector using IPHub API

  Sources   Download

MIT

The Requires

  • php ^5.5 || ^7.0
  • ext-mbstring *
  • ext-curl *

 

by Systems

26/01 2018

v1

1.0.0.0

VPN/Proxy/Server Detector using IPHub API

  Sources   Download

MIT

The Requires

  • php ^5.5 || ^7.0
  • ext-mbstring *
  • ext-curl *

 

by Systems