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

AbandonedArchivedSilverstripe-module

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 ago14 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 today

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 63% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community15

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

3754d ago

### Community

Maintainers

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

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

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

![](https://www.gravatar.com/avatar/46d6ab6e7829e92dd3b7424703a8cacd1025a9ad09974db02e5d17fade51fae7?d=identicon)[JasonHowellSlavin](/maintainers/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)
```

PHPackages © 2026

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