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

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

orangecat/geoip
===============

Allows to get country code by IP

1.0.0(6y ago)0242OSL-3.0PHPPHP ~7.1.3||~7.2.0||~7.3.0

Since Mar 2Pushed 6y ago1 watchersCompare

[ Source](https://github.com/olivertar/m2_geoip)[ Packagist](https://packagist.org/packages/orangecat/geoip)[ RSS](/packages/orangecat-geoip/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (2)

M2 Geo IP Module
================

[](#m2-geo-ip-module)

This module has been developed for Magento 2.3.x

The purpose of this module is to obtain the geographical location (country, city, postal code, etc) of the user using the IP. For its operation, it uses the MaxMind database ().

The module updates the IP's database through the Magento cron and also allows you to update it manually from the Magento backend.

In order to download the database, you must first obtain a license key:

Installation
------------

[](#installation)

The extension must be installed via `composer`. To proceed, run these commands in your terminal:

```
composer require orangecat/geoip
php bin/magento module:enable Orangecat_Geoip
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

```

Note
----

[](#note)

This module depends on GeoIP2 PHP API (), if you install this module manually, install GeoIP2-php first. composer require geoip2/geoip2:~2.0

Screenshot
----------

[](#screenshot)

[![ScreenShot](https://github.com/olivertar/m2_geoip/raw/master/screen-shot/geoip_system.png)](https://github.com/olivertar/m2_geoip/blob/master/screen-shot/geoip_system.png)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

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

2263d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2b0424a2b27fcf1f5c4362f5ab7f4fc78b56dfffe4897c4fd8177623b50fb953?d=identicon)[olivertar](/maintainers/olivertar)

### Embed Badge

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

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

###  Alternatives

[stevebauman/location

Retrieve a user's location by their IP Address

1.3k7.6M65](/packages/stevebauman-location)[yourls/yourls

Your Own URL Shortener

11.9k27.7k1](/packages/yourls-yourls)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[pulkitjalan/ip-geolocation

IP Geolocation Wrapper with Laravel Support

89164.9k1](/packages/pulkitjalan-ip-geolocation)[gpslab/geoip2

A Symfony Bundle for the Maxmind GeoIP2 API

541.5M3](/packages/gpslab-geoip2)[magefan/module-geoip

Allows to get country code by IP

55232.8k1](/packages/magefan-module-geoip)

PHPackages © 2026

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