PHPackages                             maurokouti/php-geoip-shim - 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. maurokouti/php-geoip-shim

ActiveLibrary

maurokouti/php-geoip-shim
=========================

PHP GeoIP shim to support legacy geoip\_\* functions with the GeoIP2 .mmdb database files.

0341PHP

Since Aug 26Pushed 4y ago1 watchersCompare

[ Source](https://github.com/maurokouti/php-geoip-shim)[ Packagist](https://packagist.org/packages/maurokouti/php-geoip-shim)[ RSS](/packages/maurokouti-php-geoip-shim/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP GeoIP Shim
==============

[](#php-geoip-shim)

As MaxMind [retires GeoIP Legacy databases](https://blog.maxmind.com/2020/06/01/retirement-of-geoip-legacy-downloadable-databases-in-may-2022/)in May 2022 and the fact that `geoip` PHP extension is not supported in PHP 8.0 this library might be useful as a quickfix for the projects with legacy codebase.

Install via Composer
--------------------

[](#install-via-composer)

```
composer require maurokouti/php-geoip-shim
```

Usage
-----

[](#usage)

```
