PHPackages                             dereuromark/cakephp-geo - 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. dereuromark/cakephp-geo

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

dereuromark/cakephp-geo
=======================

A CakePHP plugin around geocoding tools and helpers.

3.7.0(3mo ago)51174.9k—0.8%304MITPHPPHP &gt;=8.1CI passing

Since Jan 20Pushed 1mo ago6 watchersCompare

[ Source](https://github.com/dereuromark/cakephp-geo)[ Packagist](https://packagist.org/packages/dereuromark/cakephp-geo)[ Docs](https://github.com/dereuromark/cakephp-geo)[ RSS](/packages/dereuromark-cakephp-geo/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (13)Versions (50)Used By (4)

CakePHP Geo Plugin
==================

[](#cakephp-geo-plugin)

[![CI](https://github.com/dereuromark/cakephp-geo/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/dereuromark/cakephp-geo/actions/workflows/ci.yml?query=branch%3Amaster)[![codecov](https://camo.githubusercontent.com/8c138ec82588da3b3e281b8fe936032a7b71967705148f399687c76e41c23b27/68747470733a2f2f636f6465636f762e696f2f67682f6465726575726f6d61726b2f63616b657068702d67656f2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/dereuromark/cakephp-geo/tree/master)[![Latest Stable Version](https://camo.githubusercontent.com/01917ee1b672d2c18a3a123a3a7691eed0072f284c5707c51a6a6c860a66295d/68747470733a2f2f706f7365722e707567782e6f72672f6465726575726f6d61726b2f63616b657068702d67656f2f762f737461626c652e737667)](https://packagist.org/packages/dereuromark/cakephp-geo)[![Minimum PHP Version](https://camo.githubusercontent.com/ec21f169d70b69344c67d6f18fa1a24d20476d2f0cd680e8c4a1534c22f34e5f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e322d3838393242462e737667)](https://php.net/)[![License](https://camo.githubusercontent.com/e3c9fd306f824d729ff94bc0305dfc13cb11c640faefbbb334e149cf4b8e9112/68747470733a2f2f706f7365722e707567782e6f72672f6465726575726f6d61726b2f63616b657068702d67656f2f6c6963656e73652e737667)](LICENSE)[![Coding Standards](https://camo.githubusercontent.com/dbabe22710e675cb88cd0b12196f1477e2376dea497332775692cf1359a75918/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f63732d5053522d2d322d2d522d79656c6c6f772e737667)](https://github.com/php-fig-rectified/fig-rectified-standards)[![Total Downloads](https://camo.githubusercontent.com/af6c6b362a8e52df5e21073e05a3f630d83b4299fd1238097e09441fdd8b81e6/68747470733a2f2f706f7365722e707567782e6f72672f6465726575726f6d61726b2f63616b657068702d67656f2f642f746f74616c2e737667)](https://packagist.org/packages/dereuromark/cakephp-geo)

A CakePHP plugin to

- geocode locations/ips and save the information (lat/lng) along with the records
- reverse geocode data
- querying geocoded data by distance (using custom finder)
- display Google maps (dynamic and static)
- display Leaflet maps (open-source alternative)
- display static maps from multiple providers (Geoapify, Mapbox, Stadia, Google)

This branch is for **CakePHP 5.1+**. See [version map](https://github.com/dereuromark/cakephp-geo/wiki#cakephp-version-map) for details.

Note that it uses the [willdurand/geocoder](https://github.com/geocoder-php/Geocoder) library and therefore supports

- 12+ address-based Geocoder providers
- 10+ IP-based Geocoder providers

Most of them also support reverse geocoding. And of course you can write your own providers on top.

Also:

- MySQL support
- PostgreSQL support
- SQLite support (for easy local testing)

And also:

- GeocodedAddresses Table class for caching of API requests to prevent rate limits and speed up lookups.
- NullProvider for testing without external API calls.

Demo
----

[](#demo)

See [Sandbox examples](https://sandbox.dereuromark.de/sandbox/geo-examples) for live demos of the map helpers and the Geocoder behavior.

Installation &amp; Docs
-----------------------

[](#installation--docs)

- [Documentation](docs/README.md)

###  Health Score

66

—

FairBetter than 99% of packages

Maintenance85

Actively maintained with recent releases

Popularity48

Moderate usage in the ecosystem

Community32

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 79.3% 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 ~89 days

Recently: every ~61 days

Total

42

Last Release

114d ago

Major Versions

0.1 → 1.0.02016-05-06

1.5.0 → 2.0.0-beta2020-03-25

1.5.1 → 2.0.02020-04-10

2.2.1 → 3.0.0-RC2023-09-10

2.3.0 → 3.3.02024-02-26

PHP version history (6 changes)0.1PHP &gt;=5.4

1.2.0PHP &gt;=5.6

2.0.0-betaPHP &gt;=7.2

2.2.0PHP &gt;=7.3

2.2.1PHP &gt;=7.4

3.0.0-RCPHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/39854?v=4)[Mark Scherer](/maintainers/dereuromark)[@dereuromark](https://github.com/dereuromark)

---

Top Contributors

[![dereuromark](https://avatars.githubusercontent.com/u/39854?v=4)](https://github.com/dereuromark "dereuromark (292 commits)")[![cewi](https://avatars.githubusercontent.com/u/1643900?v=4)](https://github.com/cewi "cewi (12 commits)")[![ajfranzoia](https://avatars.githubusercontent.com/u/964115?v=4)](https://github.com/ajfranzoia "ajfranzoia (8 commits)")[![chrissPony](https://avatars.githubusercontent.com/u/6143417?v=4)](https://github.com/chrissPony "chrissPony (7 commits)")[![steefaan](https://avatars.githubusercontent.com/u/5982785?v=4)](https://github.com/steefaan "steefaan (6 commits)")[![lamasgergo](https://avatars.githubusercontent.com/u/879741?v=4)](https://github.com/lamasgergo "lamasgergo (6 commits)")[![justindenick](https://avatars.githubusercontent.com/u/3502003?v=4)](https://github.com/justindenick "justindenick (6 commits)")[![zeroasterisk](https://avatars.githubusercontent.com/u/23422?v=4)](https://github.com/zeroasterisk "zeroasterisk (5 commits)")[![ADmad](https://avatars.githubusercontent.com/u/142658?v=4)](https://github.com/ADmad "ADmad (3 commits)")[![bar](https://avatars.githubusercontent.com/u/88155?v=4)](https://github.com/bar "bar (3 commits)")[![LDSign](https://avatars.githubusercontent.com/u/1359083?v=4)](https://github.com/LDSign "LDSign (3 commits)")[![lorenzo](https://avatars.githubusercontent.com/u/37621?v=4)](https://github.com/lorenzo "lorenzo (3 commits)")[![ervinszabo](https://avatars.githubusercontent.com/u/4283220?v=4)](https://github.com/ervinszabo "ervinszabo (2 commits)")[![chopstik](https://avatars.githubusercontent.com/u/154655?v=4)](https://github.com/chopstik "chopstik (2 commits)")[![Codaxis](https://avatars.githubusercontent.com/u/6729928?v=4)](https://github.com/Codaxis "Codaxis (2 commits)")[![gringlas](https://avatars.githubusercontent.com/u/4557329?v=4)](https://github.com/gringlas "gringlas (2 commits)")[![alecho](https://avatars.githubusercontent.com/u/1035853?v=4)](https://github.com/alecho "alecho (1 commits)")[![dsgraham](https://avatars.githubusercontent.com/u/5176240?v=4)](https://github.com/dsgraham "dsgraham (1 commits)")[![Dismounted](https://avatars.githubusercontent.com/u/103888?v=4)](https://github.com/Dismounted "Dismounted (1 commits)")[![justinatack](https://avatars.githubusercontent.com/u/6056502?v=4)](https://github.com/justinatack "justinatack (1 commits)")

---

Tags

cakephpcakephp-plugingeocodergeocoder-providergeocodingphpplugingeocodinghelperscakephpmaps

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dereuromark-cakephp-geo/health.svg)

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

###  Alternatives

[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

338920.1k32](/packages/dereuromark-cakephp-tools)[dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

401.0M11](/packages/dereuromark-cakephp-shim)[cakedc/tiny-mce

TinyMCE Plugin for CakePHP

10790.2k](/packages/cakedc-tiny-mce)[dereuromark/cakephp-dto

A CakePHP plugin for generating immutable Data Transfer Objects with full type safety

2988.9k3](/packages/dereuromark-cakephp-dto)[dereuromark/cakephp-calendar

A CakePHP plugin to easily create calendars.

1646.8k1](/packages/dereuromark-cakephp-calendar)[dereuromark/cakephp-flash

A CakePHP plugin around powerful flash message handling.

1228.6k2](/packages/dereuromark-cakephp-flash)

PHPackages © 2026

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