PHPackages                             mosagx/weather - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mosagx/weather

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mosagx/weather
==============

amap weather sdk

0.0.2(5y ago)010MITPHP

Since Dec 23Pushed 5y ago1 watchersCompare

[ Source](https://github.com/mosagx/weather)[ Packagist](https://packagist.org/packages/mosagx/weather)[ RSS](/packages/mosagx-weather/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Weather
=======

[](#weather)

[![Build Status](https://camo.githubusercontent.com/0b99dcafc4adf4156b1ab0721e449a48c0bb6b4a16d8ef9fda3f37c50850ab4a/68747470733a2f2f7472617669732d63692e636f6d2f6d6f736167782f776561746865722e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/mosagx/weather)[![StyleCI build status](https://camo.githubusercontent.com/47bbedd8ea08f5b74ffdf552c107691a6ede890a7311a0b0da6671841c1280c8/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3332333632343334372f736869656c64)](https://github.styleci.io/repos/323624347/shield)[![](https://camo.githubusercontent.com/0fb5db57f1ff19430106c92caa23840c8016b086dafcc3a395f243a042c7777d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c616e67756167652d7068702d626c75652e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/0fb5db57f1ff19430106c92caa23840c8016b086dafcc3a395f243a042c7777d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c616e67756167652d7068702d626c75652e7376673f7374796c653d666c61742d737175617265)[![GitHub release (latest by date)](https://camo.githubusercontent.com/1629d964169459aad023984b2de41598e7bf620d64fd64cdaacc0108152a94a7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6d6f736167782f776561746865723f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/1629d964169459aad023984b2de41598e7bf620d64fd64cdaacc0108152a94a7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6d6f736167782f776561746865723f7374796c653d666c61742d737175617265)[![GitHub license](https://camo.githubusercontent.com/6643a7ef723c079ef8c252c495ede1b50b4ddd70519fde435a9d583ba5927868/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6f736167782f776561746865723f7374796c653d666c61742d737175617265)](https://github.com/mosagx/weather/blob/master/LICENSE)

About project
-------------

[](#about-project)

Composer package based on amap API weather module.

- Simple interface for building query strings - [guzzle docs](https://docs.guzzlephp.org/en/stable/#).
- [amap docs](https://lbs.amap.com/api/webservice/guide/api/georegeo)

Install
-------

[](#install)

```
composer require mosagx/weather:dev-master

```

Laravel use
-----------

[](#laravel-use)

### config

[](#config)

publish config file

```
php artisan vendor:publish --tag=mosagx amap-config

```

env config

```
AMAP_WEATHER_KEY= // your develop key

```

### use

[](#use)

```
