PHPackages                             mrmystic/cakephp-geoip-plugin - 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. mrmystic/cakephp-geoip-plugin

ActiveCakephp-plugin[Utility &amp; Helpers](/categories/utility)

mrmystic/cakephp-geoip-plugin
=============================

CakePHP plugin for MaxMind GeoIP

019PHP

Since Apr 2Pushed 11y ago1 watchersCompare

[ Source](https://github.com/MrMYSTIC/CakePHP-GeoIP-Plugin)[ Packagist](https://packagist.org/packages/mrmystic/cakephp-geoip-plugin)[ RSS](/packages/mrmystic-cakephp-geoip-plugin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

```
CakePHP GeoIP Plugin

A CakePHP Plugin for finding a location based on an IP Address using the MaxMind GeoIP database and the PEAR Net_GeoIP package.

SEE ALSO
------------

http://www.maxmind.com/app/ip-location
http://pear.php.net/package/Net_GeoIP/
http://pear.php.net/manual/en/package.networking.net-geoip.lookuplocation.php

INSTALLATION
------------

1. Copy the plugin to app/Plugin/GeoIp
2. Add CakePlugin::load('GeoIp'); to bootstrap.php
3. Download the MaxMind GeoLite City Database at http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
4. Uncompress the database to app/Plugin/GeoIp/data/GeoIP.dat

USAGE
---------------

```php
    App::uses('GeoIpLocation', 'GeoIp.Model');
    $GeoIpLocation = new GeoIpLocation();
    $ipAddr = CakeRequest::clientIp(false);
    $location = $GeoIpLocation->find($ipAddr);
```
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/18dd207483a4ff5272a672f9a85618fd21ee3785e91d5865658928d31f4a5e1a?d=identicon)[MrMYSTIC](/maintainers/MrMYSTIC)

---

Top Contributors

[![sime](https://avatars.githubusercontent.com/u/216917?v=4)](https://github.com/sime "sime (4 commits)")[![MrMYSTIC](https://avatars.githubusercontent.com/u/1566816?v=4)](https://github.com/MrMYSTIC "MrMYSTIC (1 commits)")[![robertlove](https://avatars.githubusercontent.com/u/1000773?v=4)](https://github.com/robertlove "robertlove (1 commits)")

### Embed Badge

![Health badge](/badges/mrmystic-cakephp-geoip-plugin/health.svg)

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

###  Alternatives

[chenkby/yii2-region

Yii2中国省市区三级联动

325.1k](/packages/chenkby-yii2-region)

PHPackages © 2026

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