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

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

jonnybarnes/emoji-a11y
======================

Make emoji more accessible

v0.3(8y ago)51.2kCC0-1.0PHPPHP &gt;=7.0

Since Feb 1Pushed 6y ago1 watchersCompare

[ Source](https://github.com/jonnybarnes/emoji-a11y)[ Packagist](https://packagist.org/packages/jonnybarnes/emoji-a11y)[ RSS](/packages/jonnybarnes-emoji-a11y/feed)WikiDiscussions master Synced 4w ago

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

emoji-a11y
==========

[](#emoji-a11y)

Make emoji more accessible.

Install
-------

[](#install)

Add this package with composer:

```
composer require jonnybarnes/emoji-a11y

```

Usage
-----

[](#usage)

Anywhere you have some text with emoji use the `makeEmojiAccessible` method.

```
$emoji = new Jonnybarnes\EmojiA11y\EmojiModifier();
$text = 'I’m 😀';
$emoji->makeEmojiAccessible($text); // I’m 😀

```

### Customise HTML

[](#customise-html)

You can pass in a string to the constructor that will be used in the `makeEmojiAccessible` method. We use PHP’s [sprinf](https://secure.php.net/manual/en/function.sprintf.php)function.

Three variables are passed into the function. The desired output form, then the text of the emoji, then the matched emoji character. Thankfully `sprintf` allows you to swap variable order if you need to, see example 3 in the manual.

Of course you need to provide your own CSS for presentation.

Inspired by

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

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

Every ~50 days

Total

4

Last Release

3283d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/108303?v=4)[Jonny Barnes](/maintainers/jonnybarnes)[@jonnybarnes](https://github.com/jonnybarnes)

---

Top Contributors

[![jonnybarnes](https://avatars.githubusercontent.com/u/108303?v=4)](https://github.com/jonnybarnes "jonnybarnes (29 commits)")

---

Tags

a11yemojiphpaccessibilityemojia11y

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  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.8M58](/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.3k528.3k](/packages/iamcal-php-emoji)[spatie/emoji

Display emoji characters

4681.3M35](/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.

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

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

884.8M11](/packages/elvanto-litemoji)[jawira/emoji-catalog

Get access to +3700 emojis as class constants

23447.1k](/packages/jawira-emoji-catalog)

PHPackages © 2026

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