PHPackages                             roypeng/china-ip-helper - 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. roypeng/china-ip-helper

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

roypeng/china-ip-helper
=======================

A PHP China ip helper, it can distinguish china ips from ips

v0.1.0(3y ago)0242PHPPHP &gt;=7.4

Since Jan 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/pon50895/china-ip-helper)[ Packagist](https://packagist.org/packages/roypeng/china-ip-helper)[ RSS](/packages/roypeng-china-ip-helper/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

china-ip-helper
===============

[](#china-ip-helper)

using china ip helper to help you check ip, it give you 2 results: "cn" or "other" that's all, having fun.

```
$ip = "8.8.8.8"; // google ip
$ipHelper = new ChinaIpHelper/IpHelper();
$ipHelper->checkIpCountry($ip); // other

$chinaIp = "1.0.1.0"; // example china ip
$ipHelper->checkIpCountry($ip); // cn

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

1221d ago

### Community

Maintainers

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

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/roypeng-china-ip-helper/health.svg)

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

###  Alternatives

[vpietri/adm-quickdevbar

QuickDevBar is a developer toolbar for magento 2

577348.6k](/packages/vpietri-adm-quickdevbar)[minime/annotations

The KISS PHP annotations library

229378.6k37](/packages/minime-annotations)[data-uri/data-uri

PHP DataURI component

60627.5k4](/packages/data-uri-data-uri)[friendsoftypo3/frontend-editing

Enable editors to work with the content in the most intuitive way possible

110123.8k2](/packages/friendsoftypo3-frontend-editing)[rockettheme/toolbox

RocketTheme Toolbox Library

22526.9k3](/packages/rockettheme-toolbox)[holiday-jp/holiday_jp

Japanese holidays

20161.3k](/packages/holiday-jp-holiday-jp)

PHPackages © 2026

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