Download the PHP package wwb/weather without Composer
On this page you can find all versions of the php package wwb/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 weather
天气查询
需求分析
- 按地名查询实时天气;
- 获取最近的天气预报。
功能设计
- 主要业务,获取天气信息;
- 异常处理,提供统一的异常类,方便调用方定位异常;
- 自定义参数,需要支持自定义参数,比如超时时间等;
- 提供 Laravel Service Provider,为 Laravel 框架提供专属封装的入口。
Laravel 使用方法
1、在 config 目录下新建 services.php 配置文件,输入
2、在env中配置参数
3、使用
All versions of weather with dependencies
PHP Build Version
Package Version
Requires
guzzlehttp/guzzle Version
^7.5
The package wwb/weather contains the following files
Loading the files please wait ....