aducworth / openweather
OpenWeatherMap API wrapper for Laravel 5
Installs: 767
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/aducworth/openweather
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2025-12-07 02:36:13 UTC
README
Laravel wrapper for Open Weather
##Installation
Via Composer
$ composer require aducworth/openweather:dev-master
##Service Provider 'Aducworth\Openweather\OpenweatherServiceProvider'
##Facade 'Openweather' => 'Aducworth\Openweather\Facades\Openweather'
Usage
Get current weather.
use Openweather;
$data = Openweather::byCity({appid},{city},{country=null});
$data = Openweather::byZip({appid},{zip});
$data = Openweather::byCoordinates({appid},{lat},{lon});