mervick / yii2-emojionearea

Yii2 widget for EmojiOne Area
7 stars 4 forks source link

yii2-emojionearea

Yii2 widget for EmojiOne Area

Installation

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.

Using

With ActiveForm:

<?= $form->field($model, 'name')->widget(\mervick\emojionearea\Widget::className(), []); ?>

Alone:

<?= \mervick\emojionearea\Widget::widget(['name' => 'example']); ?>