Home

Awesome

Emoji

Emoji images from unicode characters and names (i.e. :sunrise:). Built to work with Twemoji images.

use HeyUpdate\Emoji\Emoji;
use HeyUpdate\Emoji\EmojiIndex;

$emoji = new Emoji(new EmojiIndex(), '//twemoji.maxcdn.com/36x36/%s.png');
$emoji->replaceEmojiWithImages('🎈 :balloon:');

Install

Via Composer

$ composer require heyupdate/emoji

Requirements

The following versions of PHP are supported by this version.

Testing

$ phpunit

Credits

License

The MIT License (MIT). Please see License File for more information.