Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iamcal/php-emoji
A PHP Emoji conversion library
https://github.com/iamcal/php-emoji
Last synced: 2 months ago
JSON representation
A PHP Emoji conversion library
- Host: GitHub
- URL: https://github.com/iamcal/php-emoji
- Owner: iamcal
- License: mit
- Created: 2010-08-18T05:58:51.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2023-11-07T03:23:55.000Z (8 months ago)
- Last Synced: 2024-04-09T14:32:20.715Z (2 months ago)
- Language: PHP
- Homepage:
- Size: 17.6 MB
- Stars: 1,256
- Watchers: 89
- Forks: 286
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-fonts - php-emoji - A PHP Emoji conversion library (Emojis)
- awesome-php - php-emoji - 一个emoji表情转换库 (标记( Markup ))
- awesome-php - php-emoji - 一个emoji表情转换库 (URL)
- awesome-php - iamcal/php-emoji - 一个emoji表情转换库 (标记( Markup ))
README
# php-emoji - Process Emoji in PHP
[![Build Status](https://travis-ci.org/iamcal/php-emoji.svg?branch=master)](https://travis-ci.org/iamcal/php-emoji)
This is a PHP library for dealing with Emoji, allowing you to convert between various native formats and displaying them using HTML.
You can read more about it and see a demo here: http://www.iamcal.com/emoji-in-web-apps/
The data this library is based on comes from another GitHub project: https://github.com/iamcal/emoji-data
## USAGE
```php
emoji.css file, which points
to theemoji.png
image.IMPORTANT NOTE: This library currently only deals with UTF-8. If your source data is JIS
or Shift-JIS, you're out of luck for the moment.## Credits
By Cal Henderson
Images and Emoji data come from emoji-data.
This work is dual-licensed under the GPL v3 and the MIT license.
## Version History
* v1.0.0 - 2009-10-20 : First release
* v1.2.0 - 2011-03-27 : ?
* v1.3.0 - 2011-07-27 : ?
* v1.4.0 - 2016-02-15 : Switch to using emoji-data as the backend, at v2.4.0
* v1.4.1 - 2016-10-06 : Added `emoji_contains_emoji()`, added travis
* v1.4.2 - 2017-03-03 : Support for unified modifiers when converting to/from HTML only (issue #34)