PHPackages                             zoujingli/ip2region - 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. zoujingli/ip2region

ActiveLibrary

zoujingli/ip2region
===================

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

v3.0.11(4mo ago)1.4k437.1k↑12%20Apache-2.0PHP &gt;=7.1.0

Since Mar 22Compare

[ Source](https://github.com/zoujingli/ip2region)[ Packagist](https://packagist.org/packages/zoujingli/ip2region)[ Docs](https://github.com/zoujingli/Ip2Region)[ RSS](/packages/zoujingli-ip2region/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependenciesVersions (38)Used By (20)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/zoujingli/ip2region).

###  Health Score

59

—

FairBetter than 99% of packages

Maintenance78

Regular maintenance activity

Popularity54

Moderate usage in the ecosystem

Community16

Small or concentrated contributor base

Maturity70

Established project with proven stability

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

Recently: every ~22 days

Total

37

Last Release

122d ago

Major Versions

v1.0.12 → v2.0.02022-07-18

v1.0.x-dev → v2.0.42023-03-28

v2.0.6 → v3.0.02025-09-15

v2.0.8 → v3.0.12025-09-16

v2.0.x-dev → v3.0.22025-09-18

PHP version history (5 changes)v1.0.0PHP &gt;=5.3.3

v1.0.4PHP &gt;=5.3

v2.0.0PHP &gt;=5.4

v3.0.1PHP &gt;=5.4.0

v3.0.8PHP &gt;=7.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/c806d477ba01d9441023f3cc9a7c70e6491a189d0aae80bca2cc444691e31723?d=identicon)[zoujingli](/maintainers/zoujingli)

---

Tags

phpcomposeripv6geolocationIPlocationipv4Ip2Region

### Embed Badge

![Health badge](/badges/zoujingli-ip2region/health.svg)

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

###  Alternatives

[mlocati/ip-lib

Handle IPv4, IPv6 addresses and ranges

3126.4M44](/packages/mlocati-ip-lib)[rlanvin/php-ip

IPv4/IPv6 manipulation library for PHP

180738.8k11](/packages/rlanvin-php-ip)[tholu/php-cidr-match

CIDRmatch is a library to match an IP to an IP range in CIDR notation (IPv4 and IPv6).

37211.1k](/packages/tholu-php-cidr-match)[lifo/ip

IP address helper PHP library for working with IPv4 and IPv6 addresses

1894.6k1](/packages/lifo-ip)

PHPackages © 2026

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