PHPackages                             fatindeed/emoji-helper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. fatindeed/emoji-helper

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

fatindeed/emoji-helper
======================

Emoji helper is a tool for you to escape emoji characters.

1.0.0(6y ago)09.2k↓30%MITPHPPHP ^5.6 || ^7.0

Since Jan 13Pushed 6y ago1 watchersCompare

[ Source](https://github.com/fatindeed/emoji-helper)[ Packagist](https://packagist.org/packages/fatindeed/emoji-helper)[ Docs](https://github.com/fatindeed/emoji-helper)[ RSS](/packages/fatindeed-emoji-helper/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Emoji Helper
============

[](#emoji-helper)

[![Travis](https://camo.githubusercontent.com/528bae2330d4af91a7ad5f802e27803ce4052f7c97f3527b0f8998f63e4248e9/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f666174696e646565642f656d6f6a692d68656c7065722e737667)](https://travis-ci.org/fatindeed/emoji-helper)[![PHP from Travis config](https://camo.githubusercontent.com/f38d2449d8e03578932ee579c5a9e4cd5287d18bbafa2697e764abbf3a5c88fd/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7068702d762f666174696e646565642f656d6f6a692d68656c7065722e737667)](https://php.net/)[![Scrutinizer coverage](https://camo.githubusercontent.com/099b14022543f5b5f4e16b64c296c71c4bd57caee9306521438cc51f2945f4ad/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f666174696e646565642f656d6f6a692d68656c7065722e737667)](https://scrutinizer-ci.com/g/fatindeed/emoji-helper)[![Scrutinizer code quality](https://camo.githubusercontent.com/a529fe92465258a309e0ec11d80565b4cf8424db0e8422f37a0225b90bdba680/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f666174696e646565642f656d6f6a692d68656c7065722e737667)](https://scrutinizer-ci.com/g/fatindeed/emoji-helper)

Emoji helper is a tool for you to escape emoji characters.

Why to escape emoji characters
------------------------------

[](#why-to-escape-emoji-characters)

For MySQL databases which use `utf8` charset, it will occur a error when you insert emoji charactes.

Suggestion
----------

[](#suggestion)

You shoud try to change database charset to `utf8mb4` first. If you can't, then use this class temporary.

Usage
-----

[](#usage)

1. Require libaray in composer.

    ```
    composer require fatindeed/emoji-helper
    ```
2. With Laravel or Lumen.

    Register `Fatindeed\EmojiHelper\Http\Middleware\RemoveEmojiCharacters` to your middleware list.

    [For Laravel](https://laravel.com/docs/6.x/middleware#global-middleware)

    [For Lumen](https://lumen.laravel.com/docs/6.x/middleware#global-middleware)
3. Without Laravel.

    ```
    use Fatindeed\EmojiHelper\EmojiHelper;
    // code...
    $sqlSafeString = EmojiHelper::filter($originalString);
    ```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2318d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/24bf4121bacddbc5b41de57941796c755c941ae02d4c8ea41157eea3a63602b5?d=identicon)[fatindeed](/maintainers/fatindeed)

---

Top Contributors

[![fatindeed](https://avatars.githubusercontent.com/u/168262?v=4)](https://github.com/fatindeed "fatindeed (2 commits)")

---

Tags

middlewarelaravellumenemoji

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fatindeed-emoji-helper/health.svg)

```
[![Health](https://phpackages.com/badges/fatindeed-emoji-helper/health.svg)](https://phpackages.com/packages/fatindeed-emoji-helper)
```

###  Alternatives

[laracrafts/laravel-url-shortener

Powerful URL shortening tools in Laravel

97110.7k](/packages/laracrafts-laravel-url-shortener)[proai/lumen-annotations

Route and event binding annotations for Laravel Lumen

1012.4k](/packages/proai-lumen-annotations)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
