PHPackages                             aliasio/geoip - 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. aliasio/geoip

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

aliasio/geoip
=============

Maxmind GeoLite2 wrapper

11137PHP

Since Mar 22Pushed 11y ago1 watchersCompare

[ Source](https://github.com/AliasIO/GeoIP)[ Packagist](https://packagist.org/packages/aliasio/geoip)[ RSS](/packages/aliasio-geoip/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

GeoIP
=====

[](#geoip)

Returns country information in JSON format for a given IP address.

Usage:

```
php index.php

```

Example output:

```
$ php index.php 63.245.215.20
{"locale_code":"en","continent_code":"NA","continent_name":"North America","country_iso_code":"US","country_name":"United States","ip_address":"63.245.215.20"}

```

Using Docker:

```
docker run alias/geoip

```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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/77259?v=4)[Elbert Alias](/maintainers/AliasIO)[@AliasIO](https://github.com/AliasIO)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/aliasio-geoip/health.svg)

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

PHPackages © 2026

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