1 Star 1 Fork 0

XY / qqwry

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README
MIT

qqwry 纯真IP数据库

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

第一步:composer安装

 composer require xy_jx/qqwry

第二步使用:

根据IP获取获取位置

class xy
{      
     var_dump((new xy_jx\qqwry\QQWry)->getLocation('8.8.4.150'));
     
    //array(5) {
    //    ["ip"]=>
    //  string(9) "8.8.4.150"
    //    ["start_ip"]=>
    //  string(7) "8.8.4.5"
    //    ["end_ip"]=>
    //  string(9) "8.8.4.255"
    //    ["region"]=>
    //  string(48) "美国加利福尼亚州圣克拉拉县山景市"
    //    ["asp"]=>
    //  string(12) "谷歌公司"
    //}
}
MIT License Copyright (c) 2021 xy_jx <zhangschooi@qq.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

qqwry 纯真IP数据库,根据ip获取所在地理位置,离线查询 expand collapse
PHP
MIT
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
PHP
1
https://gitee.com/XY-JX/qqwry.git
git@gitee.com:XY-JX/qqwry.git
XY-JX
qqwry
qqwry
master

Search