silentlun / yii2-tagsinput
tagsinput
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: ~2.0.0
This package is not auto-updated.
Last update: 2025-07-17 22:24:38 UTC
README
yii2-tagsinput 是 bootstrap-tagsinput 的 Yii2 扩展包,用于管理标签的用户界面。
安装
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist silentlun/yii2-tagsinput "*"
or add
"silentlun/yii2-tagsinput": "*"
to the require section of your composer.json
file.
使用
Once the extension is installed, simply use it in your code by :
<?php use silentlun\tagsinput\TagsInput; ?> <?= $form->field($model, 'tags')->widget(TagsInput::class) ?>