Skip to content

Releases: aaronpk/emoji-detector-php

Updates for Emoji 15.1

19 Feb 18:32
Compare
Choose a tag to compare

This version requires at least PHP 7.4!

Changes:

  • Updates the bundled emoji files to Emoji 15.1 (Sep 2023)
  • Includes new map files from short name to emoji (See #16)
  • Fixed non-qualified emoji with skin tone modifiers
  • Internally, this no longer uses a regex to search for emoji!

Updates for Emoji 15.0

19 Feb 15:00
Compare
Choose a tag to compare

Changes:

  • Updates the bundled emoji files to Emoji 15.0
  • Added remove_emoji function
  • Added php-intl dependency to composer.json

Updates for Emoji 14.0

30 Aug 23:03
Compare
Choose a tag to compare

Changes:

  • Updates the bundled emoji files to Emoji 14.0
  • Changes the byte offset information to plain byte offsets and grapheme offsets

Updates for Emoji 13.1

27 Aug 19:58
Compare
Choose a tag to compare

This release includes:

  • Updates the bundled emoji files to Emoji 13.1
  • Adds information about the byte offsets of the emoji found in the string
  • Adds a function to replace emoji with the text equivalent

The Emoji\replace_emoji function replaces the emoji with the text equivalent. You can pass a prefix and suffix to the function as well:

Emoji\replace_emoji('I like 🌮 and 🌯');
// I like taco and burrito

Emoji\replace_emoji('I like 🌮 and 🌯', ':', ':');
// I like :taco: and :burrito:

Updates for new emoji

30 Nov 21:04
fb07658
Compare
Choose a tag to compare