dereuromark/cakephp-geo
最新稳定版本:3.6.0
Composer 安装命令:
composer require dereuromark/cakephp-geo
包简介
A CakePHP plugin around geocoding tools and helpers.
README 文档
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)
This branch is for CakePHP 5.1+. See version map for details.
Note that it uses the willdurand/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.
Demo
See Sandbox examples for live demos of the GoogleMaps helper and the Geocoder behavior.
Installation & Docs
统计信息
- 总下载量: 165.88k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 49
- 点击次数: 1
- 依赖项目数: 4
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2014-09-20