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 5d 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 49% 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

2737d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d6ee6d33268c4673c2c01a955a3194083ed174f719ea76bbc259f16dd8615115?d=identicon)[jormin](/maintainers/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.3k7.6M65](/packages/stevebauman-location)[s1lentium/iptools

PHP Library for manipulating network addresses (IPv4 and IPv6)

2446.2M24](/packages/s1lentium-iptools)[zhuzhichao/ip-location-zh

get the ip's location info with Chinese

617212.5k11](/packages/zhuzhichao-ip-location-zh)[markrogoyski/ipv4-subnet-calculator

Network calculator for subnet mask and other classless (CIDR) network information.

177813.7k6](/packages/markrogoyski-ipv4-subnet-calculator)[rlanvin/php-ip

IPv4/IPv6 manipulation library for PHP

180738.8k11](/packages/rlanvin-php-ip)[longman/ip-tools

PHP IP Tools for manipulation with IPv4 and IPv6

147245.6k6](/packages/longman-ip-tools)

PHPackages © 2026

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