Here are a few short examples of what you can do:
use Matroskin\YandexWeather\YandexWeather;
// get weather "now"
$fact = YandexWeather::fact(55.75, 37.61);
$fact = YandexWeather::tariff(1)->fact(55.75, 37.61);
// or get forecast
$forecast = YandexWeather::tariff(1)->locale('ru_RU')->forecast(55.75, 37.61);
You can install this package via composer using this command:
composer require "matroskin/yandex-weather"
The package will automatically register itself.