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

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

jormin/ip
=========

解析IP地址，使用 \[ipip.net\](http://www.ipip.net/) 的服务。

v1.1(7y ago)0125MITPHPPHP ^5.6 || ^7.0

Since Dec 21Pushed 7y ago1 watchersCompare

[ Source](https://github.com/jormin/ip)[ Packagist](https://packagist.org/packages/jormin/ip)[ Docs](https://github.com/jormin/ip)[ RSS](/packages/jormin-ip/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

说明
==

[](#说明)

解析IP地址，使用 [ipip.net](http://www.ipip.net/) 的服务。

安装
--

[](#安装)

1. 安装包文件

    ```
    $ composer require jormin/ip
    ```

使用
--

[](#使用)

1. 代码中使用

    获取地址数组

    ```
    Jormin\IP\IP:ip2addr('your ip');
    ```

    获取地址字符串

    ```
    Jormin\IP\IP:ip2addr('your ip', 'your glue');
    ```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Total

2

Last Release

2782d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5519318?v=4)[Jormin](/maintainers/jormin)[@jormin](https://github.com/jormin)

---

Top Contributors

[![jormin](https://avatars.githubusercontent.com/u/5519318?v=4)](https://github.com/jormin "jormin (6 commits)")

---

Tags

IPJormin

### Embed Badge

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

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

###  Alternatives

[stevebauman/location

Retrieve a user's location by their IP Address

1.3k8.5M84](/packages/stevebauman-location)[zoujingli/ip2region

ip2region v3.0 for PHP - 企业级 IP 地理位置查询库，支持 IPv4 和 IPv6，多种缓存策略，零依赖，开箱即用

1.4k462.5k65](/packages/zoujingli-ip2region)[mlocati/ip-lib

Handle IPv4, IPv6 addresses and ranges

3167.3M60](/packages/mlocati-ip-lib)[s1lentium/iptools

PHP Library for manipulating network addresses (IPv4 and IPv6)

2446.6M27](/packages/s1lentium-iptools)[vectorface/whip

A PHP class for retrieving accurate IP address information for the client.

3781.1M14](/packages/vectorface-whip)[zhuzhichao/ip-location-zh

get the ip's location info with Chinese

616215.8k14](/packages/zhuzhichao-ip-location-zh)

PHPackages © 2026

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