Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/sgreer81/dashboard-weather-widget/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Weather Widget
WordPress plugin designed to demo the WordPress HTTP API. It added a widget to the WordPress admin dashboard that displays current weather information.
Requirements
WordPress (obviously)
PHP7.x
openweathermap.org account and API key
Setup
Download and activate plugin
Define your API key in wp-config.php - define('WEATHERAPIKEY', 'xxxxxxxxx');
Features
PSR Coding Standards
Composer and PSR autoloader
Object-oriented PHP
Dependency injection
IoC Dependency Injector
React
Webpack
CSS Modules