panix/wgt-taginput

Widget taginput


Keywords
form, extension, widget, taginput, pixelion-cms
License
MIT

Documentation

wgt-taginput

Widget for Yii Framework 2.0

Latest Stable Version Total Downloads Monthly Downloads Daily Downloads Latest Unstable Version License

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist panix/wgt-taginput "*"

or add

"panix/wgt-taginput": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?php
        $form->field($model, 'text')->widget(TagInput::className(), [
            'options' => [],
        ]);
 ?>