finpaytech/iphub
Composer 安装命令:
composer require finpaytech/iphub
包简介
VPN/Proxy/Server Detector using IPHub API
README 文档
README
VPN/Proxy/Server Detector using IPHub API
Installation
composer require finpaytech/iphub
Requirement
PHP 5.5+ with cURL extension enabled
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/
统计信息
- 总下载量: 1.98k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-01-26