library epic-emoji
The emoji epic conversion library
emanci/epic-emoji
The emoji epic conversion library
- Friday, October 13, 2017
- by emanci
- Repository
- 2 Watchers
- 1 Stars
- 3 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 5 Versions
- 50 % Grown
epic-emoji
The emoji epic conversion library, (*1)
, (*2)
Installation
Using Composer to add the package to your project's dependencies:, (*3)
$ composer require questocat/epic-emoji
Usage
$epicEmoji = new EpicEmoji();
// from Apple devices
$content = '呜呜,宝宝不开心😔';
$unified = $epicEmoji->unified($content);
$unified->emoji(); // output emoji
$unified->setText('哇哦👻')->emoji(); // output emoji
$unified->withText('哇哦👻')->emoji(); // output emoji
$unified->shorthand(); // output shorthand
$unified->codepoint(); // output codepoint
$unified->html(); // output html
$unified->htmlEntity(); // output htmlEntity
// convert to DoCoMo devices
$docomo = $unified->docomo();
// convert to Softbank & pre-iOS6 Apple devices
$softbank = $unified->softbank();
// convert to KDDI & Au devices
$kddi = $unified->kddi();
// convert to Google Android devices
$google = $unified->google();
$google->emoji(); // output emoji
$google->shorthand(); // output shorthand
$google->codepoint(); // output codepoint
$google->html(); // output html
$google->htmlEntity(); // output htmlEntity
Inspiration
Reference
License
Licensed under the MIT license., (*4)
dev-master
9999999-dev
The emoji epic conversion library
Sources
Download
MIT
The Requires
The Development Requires
by
emanci
emoji
php-emoji
v1.1.0
1.1.0.0
The emoji epic conversion library
Sources
Download
MIT
The Requires
The Development Requires
by
emanci
emoji
php-emoji
v1.0.0
1.0.0.0
The emoji epic conversion library
Sources
Download
MIT
The Requires
The Development Requires
by
emanci
emoji
php-emoji
v1.0.0-beta
1.0.0.0-beta
The emoji epic conversion library
Sources
Download
MIT
The Requires
The Development Requires
by
emanci
emoji
php-emoji
dev-scrutinizer-patch-1
dev-scrutinizer-patch-1
The emoji epic conversion library
Sources
Download
MIT
The Requires
The Development Requires
by
emanci
emoji
php-emoji