Skip to content

emnabs/yii2-widget-weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yii2 Weather Widget

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.

Latest Stable Version Total Downloads License

Installation

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.

Usage

To use this widget, you have to add the codes in your page:

use emhome\weather\Weather;

echo Weather::widget();

License

yii2-widget-weather is released under the BSD 3-Clause License. See the bundled LICENSE.md for details.