定制 matecat/emoji-to-entity-converter 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

matecat/emoji-to-entity-converter

最新稳定版本:v1.0.12

Composer 安装命令:

composer require matecat/emoji-to-entity-converter

包简介

Matecat Emoji To Entity converter component

README 文档

README

Scrutinizer Code Quality Build Status

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

统计信息

  • 总下载量: 60.01k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-04-23