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

ActiveLibrary

alekhin/client-ip
=================

A class that enables one call to get the current client IP address.

v1.0.0(8y ago)021GPL-3.0PHP

Since Jun 23Pushed 8y agoCompare

[ Source](https://github.com/japalekhin/client-ip)[ Packagist](https://packagist.org/packages/alekhin/client-ip)[ RSS](/packages/alekhin-client-ip/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

client-ip
=========

[](#client-ip)

Get IP address of the current client.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity63

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

Unknown

Total

1

Last Release

3247d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/34802c74e2319a68256cd60185da6dd493347c97b0cea94b6e34ccac175a6d55?d=identicon)[japalekhin](/maintainers/japalekhin)

---

Tags

clientaddressIPvisitorip-address

### Embed Badge

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

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

###  Alternatives

[mlocati/ip-lib

Handle IPv4, IPv6 addresses and ranges

3126.4M44](/packages/mlocati-ip-lib)[markrogoyski/ipv4-subnet-calculator

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

177813.7k6](/packages/markrogoyski-ipv4-subnet-calculator)[sarfraznawaz2005/visitlog

Laravel package to log visitor information into database.

9015.9k](/packages/sarfraznawaz2005-visitlog)[ok/ipstack-client

A PHP wrapper for using Ipstack API

10384.3k](/packages/ok-ipstack-client)[lifo/ip

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

1894.6k1](/packages/lifo-ip)[davidepastore/slim-restrict-route

A Slim middleware to restrict ip addresses that will access to your routes

2220.6k1](/packages/davidepastore-slim-restrict-route)

PHPackages © 2026

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