The Laravel Weather Pack by Henrik B Hansen allows you to get weather data from different weather providers in your Laravel projects. Here is the facade usage of this package as follows:
Weather response will always be a Collection of responses.
Forecast days depend on the weather service provider.
$weather = weather()->getForecast($request);Current weather
You can customize the request when you get a forecast. example:
use Vemcogroup\Weather\Request as WeatherRequest;
$request = new WeatherRequest ('1 Infinite Loop, Cupertino, CA 95014, USA');
You can define your own provider to work with this package by using the abstract class provided.
You can learn more about this package, get full installation instructions, and view the source code on GitHub at vemcogroup/laravel-weather.