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

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

oriceon/ip
==========

Get the public IP in a quick way

1.0.3(1y ago)132MITPHPPHP ^7.1|^8.0|^8.1|^8.2|^8.3|^8.4

Since Oct 25Pushed 1y ago1 watchersCompare

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

READMEChangelog (4)DependenciesVersions (5)Used By (0)

Get the current user IP in a quick way:

```
use Oriceon\Ip;

```

Install using composer. Package name is `oriceon/ip`.

Add this to **composer.json**

```
"require": {
        "oriceon/ip": "~1.0"
    }
```

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance41

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity79

Established project with proven stability

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

Total

4

Last Release

490d ago

PHP version history (3 changes)1.0.0PHP ^7.1

1.0.2PHP ^7.1|^8.0

1.0.3PHP ^7.1|^8.0|^8.1|^8.2|^8.3|^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a9692bf91992f959404944cecec65e1b68b21491ec3c5642e67e47a836d9ea8?d=identicon)[oriceon](/maintainers/oriceon)

---

Top Contributors

[![oriceon](https://avatars.githubusercontent.com/u/358823?v=4)](https://github.com/oriceon "oriceon (5 commits)")

---

Tags

IPoriceon

### Embed Badge

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

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

###  Alternatives

[stevebauman/location

Retrieve a user's location by their IP Address

1.3k8.2M84](/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

3127.0M59](/packages/mlocati-ip-lib)[s1lentium/iptools

PHP Library for manipulating network addresses (IPv4 and IPv6)

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

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

3731.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)
