/emojify

Lightweight Emoji library built for PHP. :sparkles:

Primary LanguagePHP

emojify

Lightweight Emoji library built for PHP.

installation

  1. Install Composer.
  2. Require emojify with composer require ttaylorr/emojify dev-master
  3. Install all dependencies with composer install

example usage

<?php
  require_once __DIR__ . '/vendor/autoload.php';
  
  $text = 'Hello world, this is Emojify! :shipit:';
  echo Emoji::instance()->render($text);
?>

And you get:

demo image