steein/php_emoji

Library, which provides a constant sorted after category for PHP-Emoji characters in PHP 7.

dev-master / 1.0.x-dev 2017-01-17 06:36 UTC

This package is not auto-updated.

Last update: 2024-04-27 17:42:37 UTC


README

use SteeinEmoji\PHPEmoji;

echo PHPEmoji::admissionTickets();      //static method
echo PHPEmoji::CHAR_ADMISSION_TICKETS;  //const

Usage

The SteeinEmoji\PHPEmoji::CHAR_ contains character constants that may be used directly:

\SteeinEmoji\PHPEmoji::CHAR_BABY_SYMBOL;

The method by which one can obtain Emoji:

\SteeinEmoji\PHPEmoji::babySymbol();

This library contains all the symbols listed on the website: Full Emoji Data