Download the PHP package halo123450/zxipdb without Composer
On this page you can find all versions of the php package halo123450/zxipdb. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download halo123450/zxipdb
More information about halo123450/zxipdb
Files in halo123450/zxipdb
Download halo123450/zxipdb
More information about halo123450/zxipdb
Files in halo123450/zxipdb
Vendor halo123450
Package zxipdb
Short Description IPv4/IPv6 offline address database
License MIT
Homepage https://ip.s-3.cn
Package zxipdb
Short Description IPv4/IPv6 offline address database
License MIT
Homepage https://ip.s-3.cn
Please rate this library. Is it a good library?
Informations about the package zxipdb
Usage/使用方法
Your code/你的业务代码
$result = \Halo123450\Zxipdb\IPTool::query('8.8.8.8');
/*
$result = [
"start" => "8.8.8.8"
"end" => "8.8.8.8"
"addr" => array:2 [
0 => "美国"
1 => "加利福尼亚州圣克拉拉县山景市谷歌公司DNS服务器"
]
"disp" => "美国 加利福尼亚州圣克拉拉县山景市谷歌公司DNS服务器"
]
*/
$result = \Halo123450\Zxipdb\IPTool::query('240e:e9:8819:0:3::3f9');
/*
$result = [
"start" => "240e:e9:8800::"
"end" => "240e:e9:8fff:ffff::"
"addr" => array:2 [
0 => "中国江苏省苏州市"
1 => "中国电信IDC"
]
"disp" => "中国江苏省苏州市 中国电信IDC"
]
*/
$valid = \Halo123450\Zxipdb\IPv4Tool::isValidAddress('114.114.114.114');
/*
$valid = true;
*/
$valid = \Halo123450\Zxipdb\IPv6Tool::isValidAddress('240e:e9:8819:0:3::3f9');
/*
$valid = true;
*/
All versions of zxipdb with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6
The package halo123450/zxipdb contains the following files
Loading the files please wait ....