PHPackages                             rootmap/getip - 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. rootmap/getip

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

rootmap/getip
=============

get user ip address

023PHP

Since Oct 23Pushed 6y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Get User Computer IP

Example Code

require\_once **DIR** . '/vendor/autoload.php';

use GetIP\\GetIP;

$ip\_address = GetIP::getIPAddress();

echo($ip\_address);exit;

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/32055228?v=4)[RootMap](/maintainers/rootmap)[@rootmap](https://github.com/rootmap)

---

Top Contributors

[![mdmahamodurzamanbhuyian](https://avatars.githubusercontent.com/u/13069895?v=4)](https://github.com/mdmahamodurzamanbhuyian "mdmahamodurzamanbhuyian (2 commits)")

### Embed Badge

![Health badge](/badges/rootmap-getip/health.svg)

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

###  Alternatives

[letournel/path-finder

Path finder algorithm

142.0k](/packages/letournel-path-finder)[wangzd/laravel-dict

laravel-dict是一个用于管理系统常用的配置的简单封装.提高代码的扩展性，可以易读性

103.4k](/packages/wangzd-laravel-dict)

PHPackages © 2026

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