PHPackages                             xy\_jx/qqwry - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. xy\_jx/qqwry

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

xy\_jx/qqwry
============

QQWry 纯真IP数据库

0.1.4(2y ago)533MITPHPPHP &gt;=7.3.0

Since Sep 26Pushed 2y ago2 watchersCompare

[ Source](https://github.com/XY-JX/qqwry)[ Packagist](https://packagist.org/packages/xy_jx/qqwry)[ RSS](/packages/xy-jx-qqwry/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

qqwry 纯真IP数据库
-------------

[](#qqwry-纯真ip数据库)

[![Latest Stable Version](https://camo.githubusercontent.com/c96090b247eba928b7584af2b07c6acd2c7a3a2f60d9fb7f5cdb2cc1c6b54c4a/687474703a2f2f706f7365722e707567782e6f72672f78795f6a782f71717772792f76)](https://packagist.org/packages/xy_jx/qqwry)[![Total Downloads](https://camo.githubusercontent.com/446b13543a8fba57c9da2375490fed65efd5f6d6797e19ec7a46973f5ec2a5af/687474703a2f2f706f7365722e707567782e6f72672f78795f6a782f71717772792f646f776e6c6f616473)](https://packagist.org/packages/xy_jx/qqwry)[![Latest Unstable Version](https://camo.githubusercontent.com/7d5748463946714fd7d11a2334ce48cd105189bf6a00dc12f1e1d0d9ace68c8a/687474703a2f2f706f7365722e707567782e6f72672f78795f6a782f71717772792f762f756e737461626c65)](https://packagist.org/packages/xy_jx/qqwry)[![License](https://camo.githubusercontent.com/3169018f842da1c559fd68783dd0290d4fe3605ff6731adf8297802b82824b45/687474703a2f2f706f7365722e707567782e6f72672f78795f6a782f71717772792f6c6963656e7365)](https://packagist.org/packages/xy_jx/qqwry)[![PHP Version Require](https://camo.githubusercontent.com/fc06ed633ec90fbc01ff07b099bc0324fd975f7e106d5ce2ce6e37fa0875fa60/687474703a2f2f706f7365722e707567782e6f72672f78795f6a782f71717772792f726571756972652f706870)](https://packagist.org/packages/xy_jx/qqwry)

### 第一步：composer安装

[](#第一步composer安装)

```
 composer require xy_jx/qqwry

```

### 第二步使用：

[](#第二步使用)

#### 根据IP获取获取位置

[](#根据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) "谷歌公司"
    //}
}

```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

956d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/73cafb51412d52685ea85aac0862793fb6ab965e19c0c59e3a098807803289f4?d=identicon)[xy](/maintainers/xy)

---

Top Contributors

[![XY-JX](https://avatars.githubusercontent.com/u/57987232?v=4)](https://github.com/XY-JX "XY-JX (7 commits)")

---

Tags

phpqqwry

### Embed Badge

![Health badge](/badges/xy-jx-qqwry/health.svg)

```
[![Health](https://phpackages.com/badges/xy-jx-qqwry/health.svg)](https://phpackages.com/packages/xy-jx-qqwry)
```

###  Alternatives

[symfony/polyfill-uuid

Symfony polyfill for uuid functions

688335.4M63](/packages/symfony-polyfill-uuid)[spatie/error-solutions

This is my package error-solutions

6853.2M11](/packages/spatie-error-solutions)[phpflo/phpflo

Flow-based programming for PHP

2173.3k4](/packages/phpflo-phpflo)[eftec/autoloadone

AutoloadOne is a program that generates an autoload class for PHP.

403.4k](/packages/eftec-autoloadone)[ys-tools/default-theme-configuration-bundle

OroCommerce Default Theme Configuration Bundle

124.2k](/packages/ys-tools-default-theme-configuration-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
