dreamxzr/amap-api

基于laravel的高德开放平台api扩展包

Maintainers

Package info

github.com/dreamXZR/amap-api

pkg:composer/dreamxzr/amap-api

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-master 2019-10-14 09:10 UTC

This package is auto-updated.

Last update: 2026-04-15 00:23:01 UTC


README

基于laravel的高德开放平台api扩展包

使用要求

  • PHP >=7.0
  • Laravel >= 5.5

安装

$ composer require dreamxzr/amap-api -vvv

配置

1.发布配置文件

php artisan vendor:publish --provider="Dreamxzr\AmapApi\ServiceProvider"

2.在.env文件添加

AMAP-KEY=高德开放平台api

使用

1.天气接口

app('amap-weather')->getWeather('城市名');

License

MIT