dereuromark / cakephp-geo
A CakePHP plugin around geocoding tools and helpers.
Package info
github.com/dereuromark/cakephp-geo
Type:cakephp-plugin
pkg:composer/dereuromark/cakephp-geo
Requires
- php: >=8.2
- cakephp/cakephp: ^5.1.1
Requires (Dev)
- ext-intl: *
- ext-json: *
- dereuromark/cakephp-tools: ^3.0.0
- fig-r/psr2r-sniffer: dev-master
- geocoder-php/common-http: ^4.6.0
- geocoder-php/google-maps-provider: ^4.7.0
- geocoder-php/nominatim-provider: ^5.7
- geocoder-php/provider-implementation: ^1.0
- php-http/discovery: ^1.18.0
- php-http/message: ^1.16.0
- phpunit/phpunit: ^11.5 || ^12.1 || ^13.0
- psr/http-message: 2.0.x-dev as 1.0.0
- symfony/http-client: ^6.0 || ^7.0
- willdurand/geocoder: ^4.6.0 || ^5.0.0
Suggests
None
Provides
None
Conflicts
Replaces
None
- dev-master
- 3.8.0
- 3.7.0
- 3.6.1
- 3.6.0
- 3.5.2
- 3.5.1
- 3.5.0
- 3.4.2
- 3.4.1
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.1
- 3.1.0
- 3.0.0
- 3.0.0-RC
- 2.3.0
- 2.2.1
- 2.2.0
- 2.1.0
- 2.0.1
- 2.0.0
- 2.0.0-beta
- 1.5.1
- 1.5.0
- 1.4.0
- 1.3.6
- 1.3.5
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.1
- 1.1.0
- 1.0.2
- 1.0.1
- 1.0.0
- 0.1
- dev-cake6
- dev-feature/leaflet-helper
- dev-feature/timezone-by-coordinates
- dev-docs/testing-null-provider
- dev-fix/incomplete-class-cache
- dev-cake4
- dev-remove-deprecation
- dev-cake3
This package is auto-updated.
Last update: 2026-10-25 20:49:47 UTC
README
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)
Composer defines supported PHP and CakePHP versions. For older CakePHP applications, see the version map. Geocoding needs an optional provider package; map helpers and coordinate calculations can be used separately.
Also:
- MySQL support
- PostgreSQL support
- SQLite support when built with SQL math functions enabled
And also:
- GeocodedAddresses table for reusing geocoding results and reducing repeated API requests.
- NullProvider for testing without external API calls.
Demo
See Sandbox examples for live demos of the map helpers and the Geocoder behavior.
Documentation
Full documentation lives at dereuromark.github.io/cakephp-geo.
A few good entry points:
The Markdown sources live in the docs directory of this repository.