PHPackages                             webdevvie/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. [CLI &amp; Console](/categories/cli)
4. /
5. webdevvie/emoji

ActiveLibrary[CLI &amp; Console](/categories/cli)

webdevvie/emoji
===============

A php class that has descriptive names for the emojis and said emojis as its value

1.3.0(1y ago)712.9k↓47.2%1Apache-2.0PHPPHP ^7.4|^8.2|^8.3|^8.4

Since Jun 1Pushed 1y ago1 watchersCompare

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

READMEChangelog (4)DependenciesVersions (6)Used By (0)

PHP Emoji class
===============

[](#php-emoji-class)

A handy dumb class for using Emojis in your php project. In some IDEs emojis don't show up. They are 🎉 💩-ers. But their editor is so good.

Now you can use Emojis in your code without your IDE crapping out on you.

Installation
------------

[](#installation)

Just use:

`composer require webdevvie/emoji`

Usage:
------

[](#usage)

Two ways to use it prepended with C\_ or not:

First use Emoji:

`use Webdevvie\Emoji\Emoji;`

now use the emoji class: `Emoji::FLAG_FOR_NETHERLANDS` to get the Dutch flag 🇳🇱

or if you want to display it in a console command use : `Emoji::C_FLAG_FOR_NETHERLANDS` to get the Dutch flag with a space after it so it shows up properly in the console.

or maybe you are more of a Unicorn person 🦄: `Emoji::UNICORN_FACE`

This is nothing special. Just a simple helper class. There are no tests, there are no methods.

CHEATSHEET
==========

[](#cheatsheet)

Want a cheatsheet [Go here](CHEATSHEET.md)

Acknowledgement
===============

[](#acknowledgement)

All information for this class was taken from [Unicode.org](http://unicode.org/emoji/charts/full-emoji-list.html)

Also
====

[](#also)

If you like this library. Find me on twitter [@webdevvie](http://twitter.com/webdevvie) or my personal site [johnbakker.name](http://johnbakker.name) and throw me a 👍 😀

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance44

Moderate activity, may be stable

Popularity31

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity84

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 93.3% 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

Every ~800 days

Total

5

Last Release

438d ago

PHP version history (2 changes)1.0PHP &gt;=5.3.0

1.3.0PHP ^7.4|^8.2|^8.3|^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/974b672adc355278acd2c4df8b1d48f1ae264487994de24a007e10d5828f623b?d=identicon)[webdevvie](/maintainers/webdevvie)

---

Top Contributors

[![webdevvie](https://avatars.githubusercontent.com/u/6097722?v=4)](https://github.com/webdevvie "webdevvie (14 commits)")[![raphaelstolt](https://avatars.githubusercontent.com/u/48225?v=4)](https://github.com/raphaelstolt "raphaelstolt (1 commits)")

---

Tags

consoleconstantsemoji

### Embed Badge

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

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

###  Alternatives

[symfony/console

Eases the creation of beautiful and testable command line interfaces

9.8k1.1B11.3k](/packages/symfony-console)[psy/psysh

An interactive shell for modern PHP.

9.8k545.6M719](/packages/psy-psysh)[nunomaduro/collision

Cli error handling for console/command-line PHP applications.

4.6k331.8M8.5k](/packages/nunomaduro-collision)[nunomaduro/termwind

It's like Tailwind CSS, but for the console.

2.5k239.8M286](/packages/nunomaduro-termwind)[nunomaduro/phpinsights

Instant PHP quality checks from your console.

5.6k10.8M426](/packages/nunomaduro-phpinsights)[wp-cli/php-cli-tools

Console utilities for PHP

68325.0M367](/packages/wp-cli-php-cli-tools)

PHPackages © 2026

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