Yii2 widget for EmojiOne Area
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist mervick/yii2-emojionearea "*"
or add
"mervick/yii2-emojionearea": "*"
to the require section of your composer.json
file.
With ActiveForm:
<?= $form->field($model, 'name')->widget(\mervick\emojionearea\Widget::className(), []); ?>
Alone:
<?= \mervick\emojionearea\Widget::widget(['name' => 'example']); ?>