| Package Data | |
|---|---|
| Maintainer Username: | aducworth |
| Maintainer Contact: | aducworth@gmail.com (Austin Ducworth) |
| Package Create Date: | 2016-11-10 |
| Package Last Update: | 2018-01-25 |
| Home Page: | |
| Language: | PHP |
| License: | Unknown |
| Last Refreshed: | 2025-12-14 03:06:51 |
| Package Statistics | |
|---|---|
| Total Downloads: | 767 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 1 |
| Total Watchers: | 1 |
| Total Forks: | 1 |
| Total Open Issues: | 0 |
Laravel wrapper for Open Weather
http://openweathermap.org
##Installation
Via Composer
$ composer require aducworth/openweather:dev-master
##Service Provider 'Aducworth\Openweather\OpenweatherServiceProvider'
##Facade 'Openweather' => 'Aducworth\Openweather\Facades\Openweather'
Get current weather.
use Openweather;
$data = Openweather::byCity({appid},{city},{country=null});
$data = Openweather::byZip({appid},{zip});
$data = Openweather::byCoordinates({appid},{lat},{lon});