Emoji images from unicode characters and names (i.e. :sunrise:
).
Built to work with Twemoji images.
use Jadu\Emoji\Emoji;
use Jadu\Emoji\EmojiIndex;
$emoji = new Emoji(new EmojiIndex(), '//cdn.jsdelivr.net/gh/jdecked/twemoji/assets/svg/%s.svg');
$emoji->replaceEmojiWithImages('🎈 :balloon:');
Via Composer
$ composer require jadu/emoji
The following versions of PHP are supported by this version.
- PHP 5.3
- PHP 5.4
- PHP 5.5
- PHP 5.6
$ phpunit
The MIT License (MIT). Please see License File for more information.