Skip to content

matecat/emoji-to-entity-converter

Repository files navigation

Build Status Quality Gate Status Coverage Reliability Rating Maintainability Rating

Usage

This library provides two methods to convert emojis in their corresponding Unicode Hexadecimal Code entities.

Emoji to entity

// This will return 🫧
Emoji::toEntity("🫧");

Entity to emoji

// This will return 🪥
Emoji::toEmoji("🪥");

Automatic update the emoji map 😀

An automated tool is provided by the library to update the emoji map.

It is based on the Open Emoji Map project and all credit goes to its author.

First, you need to install all the dev dependencies. Afterwards, obtain your Open Emoji Map API key, copy the contents of credentials.dist.ini file into credentials.ini and insert the key.

Subsequently, enter the following command in your terminal:

php bin/console emoji:update

Support

If you found an issue or had an idea please refer to this section.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages