vistart/yii2-widgets

The Widgets for Yii 2 Applications

Installs: 30

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

1.0.1 2015-08-08 18:06 UTC

This package is auto-updated.

Last update: 2024-11-08 07:36:12 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>,
]); ?>