Require this package in your composer.json and update composer.
composer require erekle/weather
After updating composer, add the ServiceProvider to the providers array in config/app.php
Erekle\Weather\WeatherServiceProvider::class,
You can use the facade for shorter code. Add this to your aliases:
'Weather' => Erekle\Weather\Facades\Weather::class,
To publish the config settings in Laravel 5 use:
php artisan vendor:publish --provider="Erekle\Weather\WeatherServiceProvider::class"
This will add an weather.php config file to your config folder.
Get current weather by default values, these are in config/weather.php.
$currentWeather = Weather::get();