A small and dirty solution for using the openweather api to grap the temprature and wheather (text and icon).
Use composer to install the script:
composer require basteyy/php-openweathermap
See example/example.php for usage
The MIT License (MIT). Please see License File for more information.