PHPackages                             pstaender/silverstripe-emoji-parser - 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. pstaender/silverstripe-emoji-parser

ActiveSilverstripe-module[Utility &amp; Helpers](/categories/utility)

pstaender/silverstripe-emoji-parser
===================================

Emoji Parser for SilverStripe

03562[2 PRs](https://github.com/pstaender/silverstripe-emoji-parser/pulls)PHP

Since Feb 11Pushed 8y ago1 watchersCompare

[ Source](https://github.com/pstaender/silverstripe-emoji-parser)[ Packagist](https://packagist.org/packages/pstaender/silverstripe-emoji-parser)[ RSS](/packages/pstaender-silverstripe-emoji-parser/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

⭐⭐⭐ Emoji Parser for SilverStripe ⭐⭐⭐
=====================================

[](#starstarstar-emoji-parser-for-silverstripe-starstarstar)

Render Emojis in your template, so that a `:smile:` becomes a real 😄

Usage
=====

[](#usage)

Copy or clone the project to your SilverStripe instance folder or using composer:

```
  composer require pstaender/silverstripe-emoji-parser dev-master
```

Wheny you're done flush SilverStripe cache with `?flush=1`.

In your templates you can now parse Emojis with:

```
  $Title
  $Content.Parse(Emoji)
```

Of course also in combination with other parsers:

```
  $Title
  $Content.Parse(BBCodeParser).Parse(Emoji)
```

All rendered icon-image-tags contain the class `emoji` so that you can easily define a style, for instance:

```
   img.emoji {
     height: 1em;
     margin: 0 1em 0 1em;
   }
```

JSON for clientside JavaScript usage
====================================

[](#json-for-clientside-javascript-usage)

You can access all emojis including the url to graphics by requesting `Emojis_Controller`:

```
  http://yourserver/Emojis_Controller/

```

and use the responded JSON:

```
{

    "100": "silverstripe-emoji-parser/graphics/emojis/100.png",
    "-1": "silverstripe-emoji-parser/graphics/emojis/-1.png",
    "+1": "silverstripe-emoji-parser/graphics/emojis/+1.png",
    …
}
```

Optional configuration
======================

[](#optional-configuration)

You can optionally configure these values in your `config.yml`:

```
  Emojis:
    basePath: pathToGraphics
    cssClass: classNameForCSS
```

TODO
====

[](#todo)

Implement alternate unicode characters.

Original Project and License
============================

[](#original-project-and-license)

The images are taken from [Emoji-Cheat-Sheet.com](https://github.com/arvida/emoji-cheat-sheet.com) and are under different [Licenses](https://github.com/arvida/emoji-cheat-sheet.com/blob/master/LICENSE).

This module is under **The MIT License (MIT)**.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/bde394e0ccb15aff412f2a35b6e2172cf88c7baea4e5e643e741f71ec19df7cc?d=identicon)[pstaender](/maintainers/pstaender)

### Embed Badge

![Health badge](/badges/pstaender-silverstripe-emoji-parser/health.svg)

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

###  Alternatives

[naffiq/telegram-channel-php

Post to your telegram channel with ease!

124.2k](/packages/naffiq-telegram-channel-php)

PHPackages © 2026

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