PHPackages                             dreamxzr/amap-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. dreamxzr/amap-api

ActiveLibrary[API Development](/categories/api)

dreamxzr/amap-api
=================

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

00PHP

Since Oct 14Pushed 6y ago1 watchersCompare

[ Source](https://github.com/dreamXZR/amap-api)[ Packagist](https://packagist.org/packages/dreamxzr/amap-api)[ RSS](/packages/dreamxzr-amap-api/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

 高德地图api
=========

[](#-高德地图api-)

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

使用要求
----

[](#使用要求)

- PHP &gt;=7.0
- Laravel &gt;= 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
-------

[](#license)

MIT

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/d623e245e5a7f8f5a5efe65cc2c7b0f6937f10284d5f2b8fbf3e56e097fe1c3f?d=identicon)[dreamXZR](/maintainers/dreamXZR)

---

Top Contributors

[![dreamXZR](https://avatars.githubusercontent.com/u/26828190?v=4)](https://github.com/dreamXZR "dreamXZR (3 commits)")

### Embed Badge

![Health badge](/badges/dreamxzr-amap-api/health.svg)

```
[![Health](https://phpackages.com/badges/dreamxzr-amap-api/health.svg)](https://phpackages.com/packages/dreamxzr-amap-api)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[microsoft/microsoft-graph

The Microsoft Graph SDK for PHP

65723.5M95](/packages/microsoft-microsoft-graph)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
