matecat/emoji-to-entity-converter

Matecat Emoji To Entity converter component

Maintainers

Package info

github.com/matecat/emoji-to-entity-converter

pkg:composer/matecat/emoji-to-entity-converter

Statistics

Installs: 67 019

Dependents: 2

Suggesters: 0

Stars: 2

Open Issues: 0

v2.0.0 2026-02-19 18:09 UTC

README

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