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

Details

Emoji catalog ?

Get access to +3000 emojis as class constants.

Features:

  • ? 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

Usage

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

<?php
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:

Autocomplete

How to install

$ composer require jawira/emoji-catalog

Contributing

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

License

This library is licensed under the MIT license.

[GitHub]: https://github.com/jawira/emoji-catalog [full list of emojis]: https://github.com/jawira/emoji-catalog/blob/master/docs/catalog.md

*

Packages from jawira

<dl> <dt><a href="https://packagist.org/packages/jawira/case-converter">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.

</dd>

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

<dt><a href="https://packagist.org/packages/jawira/plantuml-encoding">jawira/plantuml-encoding</a> (library)</dt> <dd>PlantUML encoding functions.</dd>

<dt><a href="https://packagist.org/packages/jawira/">more...</a></dt> </dl>

  Files  
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
CHANGELOG.md Data Auxiliary data
composer.json Data Auxiliary data
CONTRIBUTING.md Data Auxiliary data
LICENSE.md Lic. License text
README.md 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)
   catalog.md Data Auxiliary data
   dev.md 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
   catalog-header.md.dist 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  
 100%
Total:128
This week:0
All time:9,076
This week:242

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