Download the PHP package hesunfly/laravel-weather without Composer
On this page you can find all versions of the php package hesunfly/laravel-weather. 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 laravel-weather
Weather
PHP天气查询扩展组件
安装
使用
使用前需要在高德地图开放平台申请天气查询接口的key。
发布配置文件:
config会生成weather.php配置文件,在.env文件中添加 'WEATHER_KEY'配置型,值为高德开放平台天气查询接口的key。
代码示例
基本使用:
-
获取实时天气:
-
获取预告天气:
- 获取xml形式的数据:
License
MIT
All versions of laravel-weather with dependencies
PHP Build Version
Package Version
Requires
guzzlehttp/guzzle Version
^6.3
The package hesunfly/laravel-weather contains the following files
Loading the files please wait ...