PHP Emoji Library Catalog: Return Emoji characters using class constants

Recommend this page to a friend!
  Info   Documentation   View files (21)   Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2019-11-05 (9 months ago) Not yet rated by the usersTotal: 128 All time: 9,076 This week: 242
Version License PHP version Categories
emoji-catalog 1.0.0Custom (specified...5PHP 5, Text processing
Description Author

This class can return Emoji characters using class constants.

It provides constants that are assigned to UTF-8 codes of about 3000 Emoji characters.

Applications that need to display these characters just need to use these class constants and output there values.

Innovation Award
PHP Programming Innovation award nominee
November 2019
Number 2
Emojis are nice graphics often used in chat systems to let people express their current emotions in a graphical way.

Many emoji graphics already have assigned codes to be represented in Unicode.

This class can return the Unicode codes in UTF-8 encoding for many Emojis using class constants, so PHP developers do not have to know the actual code numbers and just use meaningful names to use them in their applications.

Manuel Lemos
Picture of jawira
  Performance   Level  
Name: jawira <contact>
Classes: 5 packages by
Country: Belgium Belgium
Age: ???
All time rank: 376420 in Belgium Belgium
Week rank: 771 6 in Belgium Belgium
Innovation award
Innovation award
Nominee: 3x


Emoji catalog ?

Get access to +3000 emojis as class constants.


  • ? Dead easy to use
  • ? A lot of emojis
  • ? Zero dependencies

You can see [full list of emojis].

Latest Stable Version Emoji version Total Downloads License composer.lock PDS Skeleton Issues


You have access to emojis as \Jawira\EmojiCatalog\Emoji constants:

use Jawira\EmojiCatalog\Emoji;

echo Emoji::GRINNING_FACE;  // ?
echo Emoji::SOCCER_BALL;    // ?
echo Emoji::HOURGLASS_DONE; // ?
echo Emoji::EJECT_BUTTON;   // ?

Your favorite IDE should give you autocomplete since you are simply calling class constants:


How to install

$ composer require jawira/emoji-catalog


If you liked this project, ? star it on [GitHub].


This library is licensed under the MIT license.

[GitHub]: [full list of emojis]:


Packages from jawira

<dl> <dt><a href="">jawira/case-converter</a> (library)</dt> <dd>Convert strings between 13 naming conventions: Snake case, Camel case,

  Pascal case, Kebab case, Ada case, Train case, Cobol case, Macro case,
  Upper case, Lower case, Sentence case, Title case and Dot notation.


<dt><a href="">jawira/plantuml</a> (library)</dt> <dd>Provides PlantUML integration: plantuml executable and plantuml.jar</dd>

<dt><a href="">jawira/plantuml-encoding</a> (library)</dt> <dd>PlantUML encoding functions.</dd>

<dt><a href="">more...</a></dt> </dl>

File Role Description
.idea (1 file, 1 directory)
docs (2 files, 1 directory)
resources (3 directories)
src (1 file)
.editorconfig Data Auxiliary data
build.png Data Auxiliary data
build.xml Data Auxiliary data Data Auxiliary data
composer.json Data Auxiliary data Data Auxiliary data Lic. License text Doc. Documentation

  Files  /  .idea  
File Role Description
dictionaries (1 file)
   phing.xml Data Auxiliary data

  Files  /  .idea  /  dictionaries  
File Role Description
   jawira.xml Data Auxiliary data

  Files  /  docs  
File Role Description
images (1 file) Data Auxiliary data Data Auxiliary data

  Files  /  docs  /  images  
File Role Description
   autocomplete.png Data Auxiliary data

  Files  /  resources  
File Role Description
examples (1 file)
templates (3 files)
xslt (3 files)

  Files  /  resources  /  examples  
File Role Description
   merkmal.xsl Data Auxiliary data

  Files  /  resources  /  templates  
File Role Description Data Auxiliary data
   emoji-footer.php.dist Data Auxiliary data
   emoji-header.php.dist Class Class source

  Files  /  resources  /  xslt  
File Role Description
   catalog.xsl Data Auxiliary data
   common.xsl Data Auxiliary data
   emoji.xsl Data Auxiliary data

  Files  /  src  
File Role Description
   Emoji.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,076
This week:242

For more information send a message to info at phpclasses dot org.