PHPackages                             hasanparasteh/emojiji - 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. hasanparasteh/emojiji

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

hasanparasteh/emojiji
=====================

A helper class to manipulate emojis

0.0.1(3y ago)17MIT

Since Jun 29Compare

[ Source](https://github.com/hasanparasteh/emojiji)[ Packagist](https://packagist.org/packages/hasanparasteh/emojiji)[ RSS](/packages/hasanparasteh-emojiji/feed)WikiDiscussions Synced 2d ago

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

Emoji Encoder
=============

[](#emoji-encoder)

I really had problem encoding and decoding emojis from `utf-8` to `utf-16` and vice versa So I created this package to help me out. Hope you find it useful too :)

```
composer require hasanparasteh/emojiji

```

### Example

[](#example)

```
$sampleU8 = "hello 🏦";
$sampleU16 = mb_convert_encoding("hello 🏦", "UTF-16");

echo 'UTF-16 -> UTF-8 encoded emoji: ' . \HP\Emojiji::to_utf_8($sampleU16) . PHP_EOL;
echo 'UTF8 -> UTF-16 encoded emoji: ' . \HP\Emojiji::to_utf_16($sampleU8) . PHP_EOL;
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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

1101d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/42239446?v=4)[Hasan Parasteh](/maintainers/hasanparasteh)[@hasanparasteh](https://github.com/hasanparasteh)

---

Top Contributors

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

---

Tags

utf-8unicoderegexemojiutf-16

### Embed Badge

![Health badge](/badges/hasanparasteh-emojiji/health.svg)

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

###  Alternatives

[nette/utils

🛠 Nette Utils: lightweight utilities for string &amp; array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.

2.1k430.4M1.7k](/packages/nette-utils)[voku/portable-utf8

Portable UTF-8 library - performance optimized (unicode) string functions for php.

52323.5M49](/packages/voku-portable-utf8)[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.

468894.0k7](/packages/joypixels-emoji-toolkit)[clue/utf8-react

Streaming UTF-8 parser, built on top of ReactPHP.

6611.0M4](/packages/clue-utf8-react)[jawira/emoji-catalog

Get access to +3700 emojis as class constants

23455.0k](/packages/jawira-emoji-catalog)[unicodeveloper/laravel-emoji

A Laravel 5 Package for Using &amp; Working With Emojis

20925.1k](/packages/unicodeveloper-laravel-emoji)

PHPackages © 2026

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