PHP code example of rogeecn / yii2-tag-editor
1. Go to this page and download the library: Download rogeecn/yii2-tag-editor library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
rogeecn / yii2-tag-editor example snippets
<?= $form->field($model, "tag")->widget(\rogeecn\TagEditor\EditorWidget::className())
<?= \rogeecn\TagEditor\EditorWidget::widget([
'name'=>'tag',
'model'=>$model,
'clientOptions'=>[
//...
]
]);
php composer.phar