2017 © Pedro Peláez
 

yii2-extension yii2-twemoji

Use Twemoji in Yii2.

image

cozumel/yii2-twemoji

Use Twemoji in Yii2.

  • Sunday, June 3, 2018
  • by Cozumel
  • Repository
  • 1 Watchers
  • 1 Stars
  • 7 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 133 % Grown

The README.md

Yii2 Twemoji

Latest Stable Version Total Downloads License, (*1)

A simple way to add Twemoji support to your Yii2 project., (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

php composer.phar require --prefer-dist cozumel/yii2-twemoji "*"

or add, (*5)

"cozumel/yii2-twemoji": "*"

to the require section of your composer.json file., (*6)

Usage

Once the extension is installed, simply use it in your code by :, (*7)

use cozumel\twemoji\TwemojiAsset;

TwemojiAsset::register($this);

CSS

Because every project will have different size requirements, the css is not part of the extension. The default size of the emojis is 72x72. You can change this easily with some css., (*8)

img.emoji {
  height: 1em;
  width: 1em;
  margin: 0 .05em 0 .1em;
  vertical-align: -0.1em;
}

The Versions

03/06 2018

dev-master

9999999-dev https://github.com/cozumel424/yii2-twemoji

Use Twemoji in Yii2.

  Sources   Download

BSD-3-Clause

The Requires

 

by Coz

yii2 emoji twemoji

21/04 2018

1.0.0

1.0.0.0 https://github.com/cozumel424/yii2-twemoji

Use Twemoji in Yii2.

  Sources   Download

BSD-3-Clause

The Requires

 

by Coz

yii2 emoji twemoji