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

ActivePhp-ext

rlerdorf/geoip
==============

Legacy GeoIP (v1) PHP extension wrapping MaxMind's libGeoIP C library

1.4.0(yesterday)181↑2900%6PHP-3.01CPHP &gt;=7.2

Since Apr 6Pushed yesterday2 watchersCompare

[ Source](https://github.com/rlerdorf/geoip)[ Packagist](https://packagist.org/packages/rlerdorf/geoip)[ RSS](/packages/rlerdorf-geoip/feed)WikiDiscussions main Synced today

READMEChangelog (3)DependenciesVersions (2)Used By (0)

### This is the ***legacy (v1) GeoIP PHP extension*** for PHP 7.2+ and ***PHP 8.x.***

[](#this-is-the-legacy-v1-geoip-php-extension-for-php-72-and-php-8x)

Unless you have old code that needs this, you might be better off using [GeoIP2](https://github.com/maxmind/GeoIP2-php).

#### Installing:

[](#installing)

*Example for Debian (`apt`) and **PHP 8.2***

```
apt install php8.2-dev geoip-bin geoip-database libgeoip-dev
git clone https://github.com/rlerdorf/geoip.git geoip && cd geoip
phpize8.2
./configure
make
make test
make install
```

#### To use it:

[](#to-use-it)

1. Add line `extension=geoip.so` to your (PHP 8.2) `php.ini`
2. Restart your webserver e.g. `service apache2 restart`
3. If using FPM: `service php8.2-fpm restart`

###  Health Score

40

—

FairBetter than 87% of packages

Maintenance100

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 Bus Factor1

Top contributor holds 73.1% 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

1d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/04c4b64e4b0528a79749a79b300ef81c093cbdaeb733b2b2c2a39b4352fa19a3?d=identicon)[rlerdorf](/maintainers/rlerdorf)

---

Top Contributors

[![rlerdorf](https://avatars.githubusercontent.com/u/54641?v=4)](https://github.com/rlerdorf "rlerdorf (19 commits)")[![adsr](https://avatars.githubusercontent.com/u/315003?v=4)](https://github.com/adsr "adsr (5 commits)")[![Sean-Der](https://avatars.githubusercontent.com/u/1302304?v=4)](https://github.com/Sean-Der "Sean-Der (1 commits)")[![w87](https://avatars.githubusercontent.com/u/6990378?v=4)](https://github.com/w87 "w87 (1 commits)")

### Embed Badge

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

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

PHPackages © 2026

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