geocoder-php/geocoder-extra 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

geocoder-php/geocoder-extra

最新稳定版本:2.1.0

Composer 安装命令:

composer require geocoder-php/geocoder-extra

包简介

Geocoder extra features.

README 文档

README

Build Status Latest Stable Version

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.

统计信息

  • 总下载量: 95.84k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 52
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 52
  • Watchers: 10
  • Forks: 13
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-12-18