heyupdate / emoji
Convert unicode and named (i.e. :smile:) Emoji into images
1.0.0
2016-05-21 10:45 UTC
Requires
- php: >=5.4.0
Requires (Dev)
- phpunit/phpunit: ~4.4
This package is auto-updated.
Last update: 2024-11-20 04:28:38 UTC
README
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.
- PHP 5.3
- PHP 5.4
- PHP 5.5
- PHP 5.6
Testing
$ phpunit
Credits
License
The MIT License (MIT). Please see License File for more information.