PHPackages                             marketo/silverstripe-regional-maxmind-geoip2 - 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. marketo/silverstripe-regional-maxmind-geoip2

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

marketo/silverstripe-regional-maxmind-geoip2
============================================

Driver allowing the SilverStripe-Regional module to pull data from Maxmind using GeoIP2

v0.1(10y ago)31.3k2BSD-3-ClausePHP

Since Dec 11Pushed 10y ago5 watchersCompare

[ Source](https://github.com/Marketo/SilverStripe-Regional-Maxmind-GeoIP2)[ Packagist](https://packagist.org/packages/marketo/silverstripe-regional-maxmind-geoip2)[ RSS](/packages/marketo-silverstripe-regional-maxmind-geoip2/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

Maintainer Contact
------------------

[](#maintainer-contact)

Kirk Mayo

&lt;kirk (dot) mayo (at) solnet (dot) co (dot) nz&gt;

Requirements
------------

[](#requirements)

- SilverStripe 3.2
- SilverStripe-Regional Module

SilverStripe-Regional-Maxmind-GeoIP2
====================================

[](#silverstripe-regional-maxmind-geoip2)

Driver allowing the SilverStripe-Regional module to pull data from Maxmind using GeoIP2

Composer Installation
---------------------

[](#composer-installation)

composer require marketo/silverstripe-regional-maxmind-geoip2

Config
------

[](#config)

You will need to set the location of the database files if they are in the default locations. This can be done by adding a couple of lines to the config.yml file as per the example below.

```
IPInfoCache:
  GeoPath: '/usr/share/GeoIP/GeoLite2-City.mmdb'
  GeoPathISP: '/usr/share/GeoIP/GeoIP2-ISP-Test.mmdb'

```

GeoIP database
--------------

[](#geoip-database)

You will neeed to retrive a databse for the module to work with this will need to be stored on the server and you may need to set the location of GeoPath under IPInfoCache in your config yml file. The free databases can be downloaded from here You can also generate test databases with this module

API endpoints
-------------

[](#api-endpoints)

The curent endpoint returns a JSON object giving location details for the IP address. The results default to json but they can also be returned as jsonp if this has been defined under the config for IPInfoCache

```
http://YOURSITE/geoip/IPADDRESS
http://YOURSITE/geoip/IPADDRESS.json
http://YOURSITE/geoip/IPADDRESS.jsonp

```

TODO
----

[](#todo)

Add tests Split up conection methods make it easy to use other connectors and dbs

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity53

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3851d ago

### Community

Maintainers

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

![](https://avatars.githubusercontent.com/u/681036?v=4)[Brandon Marshall](/maintainers/Brandon32)[@Brandon32](https://github.com/Brandon32)

![](https://avatars.githubusercontent.com/u/22066381?v=4)[Marketing Dev](/maintainers/marketingdev)[@MarketingDev](https://github.com/MarketingDev)

![](https://avatars.githubusercontent.com/u/17607967?v=4)[Jason Slavin](/maintainers/JasonHowellSlavin)[@JasonHowellSlavin](https://github.com/JasonHowellSlavin)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/marketo-silverstripe-regional-maxmind-geoip2/health.svg)

```
[![Health](https://phpackages.com/badges/marketo-silverstripe-regional-maxmind-geoip2/health.svg)](https://phpackages.com/packages/marketo-silverstripe-regional-maxmind-geoip2)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.3k10](/packages/helsingborg-stad-municipio)[mautic/core

Mautic Open Source Distribution

9.8k2.6k9](/packages/mautic-core)[mediawiki/maps

Adds various mapping features to MediaWiki

78149.7k3](/packages/mediawiki-maps)[rainlab/blog-plugin

Blog plugin for October CMS

17158.6k](/packages/rainlab-blog-plugin)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

19246.3k2](/packages/civicrm-civicrm-drupal-8)

PHPackages © 2026

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