# qqwry **Repository Path**: XY-JX/qqwry ## Basic Information - **Project Name**: qqwry - **Description**: qqwry 纯真IP数据库,根据ip获取所在地理位置,离线查询 - **Primary Language**: PHP - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2023-09-26 - **Last Updated**: 2023-10-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

qqwry 纯真IP数据库

[![Latest Stable Version](http://poser.pugx.org/xy_jx/qqwry/v)](https://packagist.org/packages/xy_jx/qqwry) [![Total Downloads](http://poser.pugx.org/xy_jx/qqwry/downloads)](https://packagist.org/packages/xy_jx/qqwry) [![Latest Unstable Version](http://poser.pugx.org/xy_jx/qqwry/v/unstable)](https://packagist.org/packages/xy_jx/qqwry) [![License](http://poser.pugx.org/xy_jx/qqwry/license)](https://packagist.org/packages/xy_jx/qqwry) [![PHP Version Require](http://poser.pugx.org/xy_jx/qqwry/require/php)](https://packagist.org/packages/xy_jx/qqwry) ### 第一步: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) "谷歌公司" //} } ```