PHPackages                             abcphp/think-ip - 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. abcphp/think-ip

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

abcphp/think-ip
===============

The ThinkPHP6 ip Package

1.0.0(3y ago)07Apache-2.0PHPPHP &gt;=7.2.5

Since Oct 5Pushed 3y ago1 watchersCompare

[ Source](https://github.com/abc-php-admin/ip)[ Packagist](https://packagist.org/packages/abcphp/think-ip)[ RSS](/packages/abcphp-think-ip/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

think-ip
========

[](#think-ip)

The ThinkPHP 6 ip Package

安装
--

[](#安装)

> composer require abcphp/think-ip @dev

获取ip
----

[](#获取ip)

> \\abc\\Ip::find("10.82.245.13")

```
array(7) {
  ["ip"]=>
  string(12) "10.82.245.13"
  ["country"]=>
  string(9) "局域网"
  ["province"]=>
  string(0) ""
  ["city"]=>
  string(0) ""
  ["county"]=>
  string(0) ""
  ["isp"]=>
  string(0) ""
  ["area"]=>
  string(11) "局域网IP"
}

```

\##更新数据

> \\abc\\Ip::udpate()

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

1319d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3141c49f22a25ff3df98d3ad964a4b72844185f6d05297b29dbb1e68930f13dc?d=identicon)[abc-php-admin](/maintainers/abc-php-admin)

### Embed Badge

![Health badge](/badges/abcphp-think-ip/health.svg)

```
[![Health](https://phpackages.com/badges/abcphp-think-ip/health.svg)](https://phpackages.com/packages/abcphp-think-ip)
```

###  Alternatives

[topthink/think-captcha

captcha package for thinkphp

132934.4k68](/packages/topthink-think-captcha)[topthink/think-worker

workerman extend for thinkphp

202227.2k9](/packages/topthink-think-worker)[yunwuxin/think-cron

计划任务

17416.2k](/packages/yunwuxin-think-cron)[zzstudio/think-addons

The ThinkPHP6 Addons Package

1518.6k](/packages/zzstudio-think-addons)[topthink/think-annotation

Annotation For ThinkPHP

4831.5k8](/packages/topthink-think-annotation)[liliuwei/thinkphp-jump

适用于thinkphp6.0的跳转扩展

2874.4k1](/packages/liliuwei-thinkphp-jump)

PHPackages © 2026

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