PHP Classes
elePHPant
Icontem

PHP Emoji Library Catalog: Return Emoji characters using class constants

Recommend this page to a friend!
  Info   View files Documentation   View files View files (21)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2019-11-05 (Yesterday) RSS 2.0 feedNot yet rated by the usersTotal: 2 This week: 2All time: 9,760 This week: 181Up
Version License PHP version Categories
emoji-catalog 1.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.

  Performance   Level  
Name: jawira <contact>
Classes: 1 package by
Country: Belgium Belgium

 

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 folder image Files  
File Role Description
Files folder image.idea (1 file, 1 directory)
Files folder imagedocs (2 files, 1 directory)
Files folder imageresources (3 directories)
Files folder imagesrc (1 file)
Accessible without login Plain text file .editorconfig Data Auxiliary data
Accessible without login Image file build.png Data Auxiliary data
Accessible without login Plain text file build.xml Data Auxiliary data
Accessible without login Plain text file CHANGELOG.md Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file CONTRIBUTING.md Data Auxiliary data
Accessible without login Plain text file LICENSE.md Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  .idea  
File Role Description
Files folder imagedictionaries (1 file)
  Accessible without login Plain text file phing.xml Data Auxiliary data

  Files folder image Files  /  .idea  /  dictionaries  
File Role Description
  Accessible without login Plain text file jawira.xml Data Auxiliary data

  Files folder image Files  /  docs  
File Role Description
Files folder imageimages (1 file)
  Accessible without login Plain text file catalog.md Data Auxiliary data
  Accessible without login Plain text file dev.md Data Auxiliary data

  Files folder image Files  /  docs  /  images  
File Role Description
  Accessible without login Image file autocomplete.png Data Auxiliary data

  Files folder image Files  /  resources  
File Role Description
Files folder imageexamples (1 file)
Files folder imagetemplates (3 files)
Files folder imagexslt (3 files)

  Files folder image Files  /  resources  /  examples  
File Role Description
  Accessible without login Plain text file merkmal.xsl Data Auxiliary data

  Files folder image Files  /  resources  /  templates  
File Role Description
  Accessible without login Plain text file catalog-header.md.dist Data Auxiliary data
  Accessible without login Plain text file emoji-footer.php.dist Data Auxiliary data
  Plain text file emoji-header.php.dist Class Class source

  Files folder image Files  /  resources  /  xslt  
File Role Description
  Accessible without login Plain text file catalog.xsl Data Auxiliary data
  Accessible without login Plain text file common.xsl Data Auxiliary data
  Accessible without login Plain text file emoji.xsl Data Auxiliary data

  Files folder image Files  /  src  
File Role Description
  Plain text file Emoji.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:2
This week:2
All time:9,760
This week:181Up