2017 © Pedro Peláez
 

library emoji

Emoji library for PHP 5.5.x/7.x and HHVM

image

juanparati/emoji

Emoji library for PHP 5.5.x/7.x and HHVM

  • Wednesday, September 7, 2016
  • by juanparati
  • Repository
  • 1 Watchers
  • 0 Stars
  • 815 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 91 % Grown

The README.md

Emoji

What is it?

A lightweight PHP 5.4.x-7.x and HHVM library that help you to print your unicode Emojis on console or a html document., (*1)

How to use it?

    use Juanparati\Emoji\Emoji;

    echo Emoji::char('grinning face') . '  or  ' . Emoji::char(':D');
    use Juanparati\Emoji\Emoji;

    echo Emoji::html('monkey face');

Emoji list

Emojis are referenced by name., (*2)

A full list of all unicode emojis with their names are available at: http://unicode.org/emoji/charts/full-emoji-list.html, (*3)

For example if you want to print a beer mug, just type:, (*4)

    echo Emoji::char('beer mug')    // Print on console

or, (*5)

    echo Emoji:html('beer mug')     // Print on html document

How to install it

    composer require juanparati/emoji

The Versions

07/09 2016

dev-master

9999999-dev

Emoji library for PHP 5.5.x/7.x and HHVM

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

by Juan Lago