This extension contains a couple of useful widgets. The Weather
widget extends the \yii\bootstrap\Widget
widget with more easy styling and auto fade out options.
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist emnabs/yii2-widget-weather "*"
or add
"emnabs/yii2-widget-weather": "*"
to the require section of your composer.json.
To use this widget, you have to add the codes in your page:
use emhome\weather\Weather;
echo Weather::widget();
yii2-widget-weather is released under the BSD 3-Clause
License. See the bundled LICENSE.md
for details.