PHPemoji
emoji library for PHP
Install
composer require amirshnll/php-pemoji
Usage
code
require("PHPemoji.php");
$emoji = new PHPemoji();
echo "Hello World", $emoji->fire;
$github = $emoji->github;
echo "I love " . $github;
echo $emoji->parse("Hello World :SmileOutlined:");
$emoji->println("I Have Two :Eye: s");
$emoji->print("PHP is :HeartOutlined:\n");
output
Hello World
I love :github:
Hello World
I Have Two
PHP is
Contributing
edit PHPemoji.php
file.
Credits
PHPemoji
was originally inspired by sami2020pro/gmoji with a goal of being make emoji library PHP.
License
MIT