geocoder-php/geocoder-extra
Composer 安装命令:
composer require geocoder-php/geocoder-extra
包简介
Geocoder extra features.
README 文档
README
This repository hosts Geocoder extra features that do not belong to the core but can be nonetheless interesting to share with other developers. It mostly contains providers.
Installation
Use Composer to install the package:
composer require geocoder-php/geocoder-extra
Usage
Please, read the Geocoder's documentation.
Providers
| Provider | Address? | IPv4? | IPv6? | Reverse? | SSL Support? | Coverage | Terms |
|---|---|---|---|---|---|---|---|
| OGD Vienna | yes | no | no | yes | yes | Vienna / Austria | |
| Naver | yes | no | no | no | no | South Korea | |
| Geocodio | yes | no | no | yes | no | USA | |
| IpInfo | no | yes | yes | no | no | ||
| Here | yes | no | no | yes | no | ||
| IpGeoBase | no | yes | no | yes | no | Russia | |
| Baidu | yes | no | no | yes | no | China | API key required |
| DataScienceToolkit | yes | yes | no | no | no | USA, Canada | |
| GeoCoder.ca | yes | no | no | yes | yes | USA, Canada | Optional API key can be provided. $1 CAD for 400 lookups |
| GeoCoder.us | yes | no | no | no | no | USA | Free throttled service. $50 USD for 20000 requests for paid service |
| OIORest | yes | no | no | yes | no | Denmark | |
| IGN OpenLS | yes | no | no | no | no | France | API key required |
| what3words | yes (3 word address only) | no | no | yes | yes | Global | API key required |
| ip2c | no | yes | no | no | no |
Contributing
See Geocoder's CONTRIBUTING file.
Unit Tests
To run unit tests, you'll need cURL and a set of dependencies you can install
using Composer:
composer install --dev
Once installed, run the following command:
phpunit
You'll obtain some skipped unit tests due to the need of API keys.
Rename the phpunit.xml.dist file to phpunit.xml, then uncomment the
following lines and add your own API keys:
<php> <!-- <server name="BAIDU_API_KEY" value="YOUR_API_KEY" /> --> <!-- <server name="IGN_WEB_API_KEY" value="YOUR_API_KEY" /> --> </php>
You're done!
Contributor Code of Conduct
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
License
geocoder-extra is released under the MIT License. See the bundled LICENSE file for details.
geocoder-php/geocoder-extra 适用场景与选型建议
geocoder-php/geocoder-extra 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 96.74k 次下载、GitHub Stars 达 52, 最近一次更新时间为 2013 年 12 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 geocoder-php/geocoder-extra 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 geocoder-php/geocoder-extra 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 96.74k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 52
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-12-18