vistart / yii2-widgets
The Widgets for Yii 2 Applications
1.0.1
2015-08-08 18:06 UTC
Requires
- php: >=5.4.0
- yiisoft/yii2: >=2.0.6
This package is auto-updated.
Last update: 2026-03-08 10:29:15 UTC
README
The Widgets for Yii 2 Applications
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist vistart/yii2-widgets "*"
or add
"vistart/yii2-widgets": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \vistart\Widgets\CnzzWidget::widget([ 'visible' => true, 'cnzzCode' => <the js code of statistical tool>, 'host' => <the hostname which your website just host>, ]); ?>