PHPackages                             kdaviesnz/emoji - 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. kdaviesnz/emoji

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

kdaviesnz/emoji
===============

Detects if text is an emoji and removes emojis from text.

v1.0.0-alpha(8y ago)1571MITPHPPHP ~7.0

Since Nov 1Pushed 8y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

emoji
=====

[](#emoji)

Install
-------

[](#install)

Via Composer

```
$ composer require kdaviesnz/emoji
```

Usage
-----

[](#usage)

```
$emoji = new \kdaviesnz\emoji\Emoji();
// String is an emoji
$isEmoji = $emoji->checkEmoji("😄");

// String is not an emoji as it contains other characters.
$isEmoji = $emoji->checkEmoji("😐 ");

$withEmoticon = "‘😐";
// Returns "‘";
$withoutEmoticon = $emoji->removeEmoji($withEmoticon);
```

Change log
----------

[](#change-log)

Please see CHANGELOG.md for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see CONTRIBUTING.md and CODE\_OF\_CONDUCT.md for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

-

License
-------

[](#license)

The MIT License (MIT). Please see LICENSE.md for more information.

emoji
=====

[](#emoji-1)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

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

3114d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3b63930ad10271ff6fe9e1ce3446ebc46b67edda7afc70fd09a3970f55215617?d=identicon)[kdaviesnz](/maintainers/kdaviesnz)

---

Top Contributors

[![kdaviesnz](https://avatars.githubusercontent.com/u/2062483?v=4)](https://github.com/kdaviesnz "kdaviesnz (1 commits)")

---

Tags

emoji

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[rinvex/countries

Rinvex Countries is a simple and lightweight package for retrieving country details with flexibility. A whole bunch of data including name, demonym, capital, iso codes, dialling codes, geo data, currencies, flags, emoji, and other attributes for all 250 countries worldwide at your fingertips.

1.7k7.4M48](/packages/rinvex-countries)[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.

1.3k481.1k](/packages/iamcal-php-emoji)[spatie/emoji

Display emoji characters

4671.2M32](/packages/spatie-emoji)[joypixels/emoji-toolkit

JoyPixels is a complete set of emoji designed for the web. The emoji-toolkit includes libraries to easily convert unicode characters to shortnames (:smile:) and shortnames to JoyPixels emoji images. PNG formats provided for the emoji images.

465817.1k7](/packages/joypixels-emoji-toolkit)[elvanto/litemoji

A PHP library simplifying the conversion of unicode, HTML and shortcode emoji.

864.6M8](/packages/elvanto-litemoji)[christofferok/laravel-emojione

Laravel helper for EmojiOne

139115.8k](/packages/christofferok-laravel-emojione)

PHPackages © 2026

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