Download the PHP package jackdou/chinamap without Composer
On this page you can find all versions of the php package jackdou/chinamap. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package chinamap
jackdou-chinamap
laravel扩展 中国地图 webApi 集合
功能介绍
地图是大家经常在应用中需要使用到的功能,包括用户定位,Ip地址转换,地理位置正/逆编码等等。 国内目前有很多地图API提供接口使用,但是每个公司的接口都不一样,为了方便使用不同的地图API,故写了这个包。 目前集合了国内比较大的主流地图,包括百度,高德,腾讯等,实现了一些常用的功能,并且功能还会不断的扩展, 如果遇到使用的问题或bug可以提issues
安装说明
-
使用composer安装
composer require jackdou/chinamap
建议使用 中国composer全量镜像
-
配置
在 config/app.php providers数组 内添加一行
Jackdou\Chinamap\ChinamapServicesProvider::class
执行命令生成配置文件
php artisan vendor:publish
需要使用哪种地图接口,需要先去相应的地图网站申请成为应用开发者,具体操作请翻阅相关文档。
注意:申请了应用对应的密钥后需要再配置文件config/chinamap.php中对应的添加上
-
使用 直接使用Map门面调用
- v1.3 最新版本功能暂时处于测试阶段
All versions of chinamap with dependencies
PHP Build Version
Package Version
The package jackdou/chinamap contains the following files
Loading the files please wait ....