PHPackages                             hackxiaoya/ipwry - 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. hackxiaoya/ipwry

ActiveLibrary

hackxiaoya/ipwry
================

离线IP信息查询，纯真IP库

v1.1(5y ago)011MITPHPPHP &gt;=7.0

Since Oct 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Hackxiaoya/IPWry)[ Packagist](https://packagist.org/packages/hackxiaoya/ipwry)[ RSS](/packages/hackxiaoya-ipwry/feed)WikiDiscussions main Synced 6d ago

READMEChangelogDependenciesVersions (3)Used By (0)

IPWry
=====

[](#ipwry)

IPWry

纯真 IP 库 Laravel 版 。

数据库版本：2020-10-01

纯真IP库
官网：
在官网右上角有个IP数据库下载

#### 安装

[](#安装)

> composer require hackxiaoya/ipwry

更新你的依赖包 composer update 或者全新安装 composer install。

#### 例子

[](#例子)

Facades用法

> $ip = mt\_rand(); // 取一个随机IP。
> $ip = IPWry::ntoa($ip); // 将IP转换成文本型格式。
> $record = IPWry::query($ip); // 取出IP对应的地址。
> echo "\\n", $ip, "\\t", $record\['country'\], "\\t", $record\['area'\]; // 输出结果。

在视图中

> @inject('ipwry', 'ipwry')
> {{ $ipwry-&gt;query('127.0.0.1')-&gt;implode(' ') }}

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 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 ~1 days

Total

2

Last Release

2033d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15765464?v=4)[Xiaoya](/maintainers/hackxiaoya)[@Hackxiaoya](https://github.com/Hackxiaoya)

---

Top Contributors

[![Hackxiaoya](https://avatars.githubusercontent.com/u/15765464?v=4)](https://github.com/Hackxiaoya "Hackxiaoya (1 commits)")

---

Tags

laravelIPIPWry

### Embed Badge

![Health badge](/badges/hackxiaoya-ipwry/health.svg)

```
[![Health](https://phpackages.com/badges/hackxiaoya-ipwry/health.svg)](https://phpackages.com/packages/hackxiaoya-ipwry)
```

###  Alternatives

[sarfraznawaz2005/visitlog

Laravel package to log visitor information into database.

9015.9k](/packages/sarfraznawaz2005-visitlog)[laravel-validation-rules/ip

Validate if an ip address is public or private.

1629.7k](/packages/laravel-validation-rules-ip)

PHPackages © 2026

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