PHPackages                             tobai/magento2-geo-ip2 - 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. tobai/magento2-geo-ip2

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

tobai/magento2-geo-ip2
======================

Integrate MaxMind GeoIP2 DB into Magento 2.

1.0.2(8y ago)1661.1k↓16.7%7[6 issues](https://github.com/ytorbyk/magento2-geo-ip2/issues)[1 PRs](https://github.com/ytorbyk/magento2-geo-ip2/pulls)2MITPHP

Since Dec 10Pushed 8y ago4 watchersCompare

[ Source](https://github.com/ytorbyk/magento2-geo-ip2)[ Packagist](https://packagist.org/packages/tobai/magento2-geo-ip2)[ RSS](/packages/tobai-magento2-geo-ip2/feed)WikiDiscussions master Synced 1mo ago

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

Welcome
-------

[](#welcome)

We are happy that you have chosen our free extension ToBai GeoIP2. This extension was created especially for Magento 2 developers to make it easier for them to work with different IP databases.

- It is pre-defined 2 free databases for Country and City detection from maxmind.com
- It is possible to easily add any other IP database
- There are special settings in extension configs to set connection with other databases using web service client, e.g. paid maxmind.com databases

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

[](#installation)

Please follow next instructions to successfully install ToBai GeoIP2 in your Magento 2 store.

1. Disable the cache with this command:

    ```
     bin/magento cache:disable

    ```
2. Add extension to composer require section using this command:

    ```
     composer require tobai/magento2-geo-ip2

    ```
3. Enable module and upgrade with this commands:

    ```
     bin/magento module:enable Tobai_GeoIp2
     bin/magento setup:upgrade

    ```
4. Check under Stores-&gt;Configuration-&gt;Advanced-&gt;Advanced that the module Tobai\_GeoIp2 is present. If Tobai\_GeoIp2 displays in alphabetical order, you successfully installed the reference module!
5. Flush and enable the cache with this commands:

    ```
     bin/magento cache:flush
     bin/magento cache:enable

    ```

Now you should see new ToBai tab at Stores &gt; Configuration. When you click at this tab you will see GeoIP2 section.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~402 days

Total

3

Last Release

3008d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ba91fc8143c08e0657d148c51c4ae93a44e67ae961a0a7febbf3000365f718a9?d=identicon)[ytorbyk](/maintainers/ytorbyk)

---

Top Contributors

[![ytorbyk](https://avatars.githubusercontent.com/u/6418650?v=4)](https://github.com/ytorbyk "ytorbyk (7 commits)")

---

Tags

maxmindmagento2

### Embed Badge

![Health badge](/badges/tobai-magento2-geo-ip2/health.svg)

```
[![Health](https://phpackages.com/badges/tobai-magento2-geo-ip2/health.svg)](https://phpackages.com/packages/tobai-magento2-geo-ip2)
```

###  Alternatives

[magepal/magento2-googletagmanager

Google Tag Manager (GTM) for Magento 2 with Advance Data Layer

2671.5M4](/packages/magepal-magento2-googletagmanager)[pulkitjalan/ip-geolocation

IP Geolocation Wrapper with Laravel Support

89164.9k1](/packages/pulkitjalan-ip-geolocation)[mageplaza/magento-2-blog-extension

Magento 2 Blog extension

123708.2k5](/packages/mageplaza-magento-2-blog-extension)[magepal/magento2-reindex

Reindex your Magento2 store quickly and easily from backend/admin, instead of command line.

112649.7k1](/packages/magepal-magento2-reindex)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

69344.4k](/packages/run-as-root-magento2-prometheus-exporter)[smile/module-store-locator

Smile Store Locator

51516.6k4](/packages/smile-module-store-locator)

PHPackages © 2026

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