承接 granam/emojione-micro 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

granam/emojione-micro

Composer 安装命令:

composer require granam/emojione-micro

包简介

Extracted Emoji One CSS and converters in PHP / Python / JS / Meteor / Awesome font.

README 文档

README

#EmojiOne Logo EmojiOne

bringing you emojione.com & emoji.codes

The web's first and only complete open source emoji set. It is 100% free and super easy to integrate.

Just an extraction

This library provides only CSS to style EmojiOne and tools in few languages to convert HTML-to-image-and-back.

Workflow

  1. convert an UTF-8 emoji 😎 into its Emoji One image equivalent by one of conversion methods
  2. style it with provided CSS
  3. let download images from public CDN JSDelivr (Emoji One official partner)
  4. be happy

Installation

Composer

$ composer require granam/emojione-micro
Note about namespace

The original Emojione namespace is used to provide compatibility and made eventual switch to original library easier.

Where is the original?

This library is just an extraction of large official library of version 2.2.7 (original latest version is Latest Stable Version). Whatever you think you need, you will find it there.

PHP Usage Examples

toShort($str) - native unicode -> shortnames

This demo shows you how to take native unicode emoji input, such as that from your mobile device, and translate it to their corresponding shortnames. (we recommend this for database storage)

shortnameToImage($str) - shortname -> images

This demo shows you how to take input containing only shortnames and translate it directly to EmojiOne images. (when displaying the unified input to clients)

unicodeToImage($str) - native unicode -> images

This demo shows you how to take native unicode emoji input, such as that from your mobile device, and translate it directly to EmojiOne images. (would be great for a live editor preview)

toImage($str) - native unicode + shortnames -> images (mixed input)

This demo shows you how to take input containing both native unicode emoji and shortnames, and translate it into EmojiOne images for display.

Licenses

EmojiOne Artwork

EmojiOne Non-Artwork

  • Applies to the Javascript, JSON, PHP, CSS, HTML files, and everything else not covered under the artwork license above.
  • License: MIT
  • Complete Legal Terms: http://opensource.org/licenses/MIT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: (CC-BY-4.0 and MIT) 24d5df706bf3acc1c9688eefb7abb52a383d942a
  • 更新时间: 2017-03-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固