Skip to content
/ emoji Public
forked from heyupdate/emoji

A simple PHP library for handling Emoji

License

Notifications You must be signed in to change notification settings

jadu/emoji

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emoji

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:');

Install

Via Composer

$ composer require jadu/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.

About

A simple PHP library for handling Emoji

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%