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

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

netstyler/cakephp-geoip
=======================

GeoIP Plugin

1.0.0(11y ago)025MITPHP &gt;=5.3.0

Since Sep 9Compare

[ Source](https://github.com/netstyler/CakePHP-GeoIP-Plugin)[ Packagist](https://packagist.org/packages/netstyler/cakephp-geoip)[ Docs](https://github.com/netstyler/CakePHP-GeoIP-Plugin)[ RSS](/packages/netstyler-cakephp-geoip/feed)WikiDiscussions Synced 2w ago

READMEChangelogDependenciesVersions (4)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. Download the MaxMind GeoLite City Database at http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
3. Uncompress the database to app/Plugin/GeoIp/data/GeoIP.dat

Usage
-----

Just load the behavior

```php
class MyModel extends AppModel {
	public $actsAs = array('GeoIp.GeoIp);
}
```

You can then call:

```php
$location = $this->MyModel->ipLookup(CakeRequest::clientIp(false));
```

Contributing to this Plugin
---------------------------

Please feel free to contribute to the plugin with new issues, requests, unit tests and code fixes or new features. If you want to contribute some code, create a feature branch from develop, and send us your pull request. Unit tests for new features and issues detected are mandatory to keep quality high.

License
-------

Licensed under [The MIT License](http://www.opensource.org/licenses/mit-license.php)
Redistributions of files must retain the above copyright notice.
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity60

Established project with proven stability

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 ~329 days

Total

3

Last Release

3698d ago

Major Versions

1.0.x-dev → 2.0.x-dev2016-06-29

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/319755?v=4)[Falk](/maintainers/netstyler)[@netstyler](https://github.com/netstyler)

---

Tags

geoipcakephp

### Embed Badge

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

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

###  Alternatives

[torann/geoip

Support for multiple Geographical Location services.

2.2k15.7M103](/packages/torann-geoip)[stevebauman/location

Retrieve a user's location by their IP Address

1.3k8.9M97](/packages/stevebauman-location)[willdurand/geocoder

Common files for PHP Geocoder

17338.6M173](/packages/willdurand-geocoder)[markstory/asset_compress

An asset compression plugin for CakePHP. Provides file concatenation and a flexible filter system for preprocessing and minification.

3751.1M15](/packages/markstory-asset-compress)[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

3321.0M51](/packages/dereuromark-cakephp-tools)[markstory/mini-asset

An asset compression library. Provides file concatenation and a flexible filter system for preprocessing and minification.

63797.9k3](/packages/markstory-mini-asset)

PHPackages © 2026

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