PHPackages                             euclid1990/php-ios-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. euclid1990/php-ios-emoji

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

euclid1990/php-ios-emoji
========================

An iOS Emoji Parser For Laravel 5

1.0.0(10y ago)75322MITPHPPHP &gt;=5.5

Since Mar 12Pushed 10y ago1 watchersCompare

[ Source](https://github.com/euclid1990/php-ios-emoji)[ Packagist](https://packagist.org/packages/euclid1990/php-ios-emoji)[ RSS](/packages/euclid1990-php-ios-emoji/feed)WikiDiscussions master Synced today

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

PHP iOS Emoji
=============

[](#php-ios-emoji)

[![Latest Stable Version](https://camo.githubusercontent.com/3aa91274fcd2fecc9a1ecbc7f698ffb282654060e21c37ef632267fb6f8b6b6a/68747470733a2f2f706f7365722e707567782e6f72672f6575636c6964313939302f7068702d696f732d656d6f6a692f76657273696f6e)](https://packagist.org/packages/euclid1990/php-ios-emoji)[![Total Downloads](https://camo.githubusercontent.com/054a99746d60416d46fc15fa4ad841c34b489d552ef704887a5622b0697d7002/68747470733a2f2f706f7365722e707567782e6f72672f6575636c6964313939302f7068702d696f732d656d6f6a692f646f776e6c6f616473)](https://packagist.org/packages/euclid1990/php-ios-emoji)[![License](https://camo.githubusercontent.com/0d6b08e9af4ab35fb5ccb760a3aac1d610509cc91d2a0490807441b2332c8ddf/68747470733a2f2f706f7365722e707567782e6f72672f6575636c6964313939302f7068702d696f732d656d6f6a692f6c6963656e7365)](https://packagist.org/packages/euclid1990/php-ios-emoji)

An iOS emoji parser for Laravel 5. [![cry](https://raw.githubusercontent.com/euclid1990/php-ios-emoji/master/assets/img/1f602.png)](https://raw.githubusercontent.com/euclid1990/php-ios-emoji/master/assets/img/1f602.png)

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

[](#installation)

[PHP](https://php.net) 5.5+ and [Laravel 5](https://laravel.com/docs/5.2) are required.

The PHP iOs Emoji Service Provider can be installed via [Composer](http://getcomposer.org) by requiring the `euclid1990/php-ios-emoji` package in your project's `composer.json`.

```
{
    "require": {
        "laravel/framework": "5.*",
        "euclid1990/php-ios-emoji": "~1.0"
    },
    "minimum-stability": "stable"
}
```

or

Require this package with composer:

```
composer require euclid1990/php-ios-emoji

```

Update your packages with `composer update` or install with `composer install`.

Setup
-----

[](#setup)

#### Bootstrap

[](#bootstrap)

To use the Emoji Service Provider, you must register the provider when bootstrapping your Laravel application. There are essentially two ways to do this.

Find the `providers` key in `config/app.php` and register the Emoji Service Provider.

```
    'providers' => [
        // ...
        'euclid1990\PhpIosEmoji\Providers\EmojiServiceProvider',
    ]
```

for Laravel 5.1+

```
    'providers' => [
        // ...
        euclid1990\PhpIosEmoji\Providers\EmojiServiceProvider::class,
    ]
```

Find the `aliases` key in `config/app.php`.

```
    'aliases' => [
        // ...
        'Emoji' => 'euclid1990\PhpIosEmoji\Facades\Emoji',
    ]
```

for Laravel 5.1+

```
    'aliases' => [
        // ...
        'Emoji' => euclid1990\PhpIosEmoji\Facades\Emoji::class,
    ]
```

#### Public Assets

[](#public-assets)

Run following command: It will move all emotion icon images and style.css file to `/public/ios-emoji`.

```
php artisan vendor:publish --tag=public --force

```

#### Add Stylesheet

[](#add-stylesheet)

Add the style sheet we prepared for you.

```

```

Or use helper:

```

```

Usage
-----

[](#usage)

#### 1. Example:

[](#1-example)

```
\Emoji::parse($text);
```

```
>

    PHP iOS Emoji

    'Parse the emotions: :smiley: :smile: :baby: :blush: :relaxed: :wink: :heart_eyes: :kissing_heart: in this string.'
               ↓
    {!! \Emoji::parse('Parse the emotions: :smiley: :smile: :baby: :blush: :relaxed: :wink: :heart_eyes: :kissing_heart: in this string.') !!}

```

Result:

[![Preview](https://raw.githubusercontent.com/euclid1990/php-ios-emoji/master/demo/preview.png)](https://raw.githubusercontent.com/euclid1990/php-ios-emoji/master/demo/preview.png)

#### 2. Use Helper:

[](#2-use-helper)

```
$text = "Parse the emotions: :smiley: :smile: in this string.";
// iOS Emoji Parser
ios_emoji($text);
```

Reference
---------

[](#reference)

1. [Emoji Alias](https://github.com/euclid1990/php-ios-emoji/blob/master/data/ecode_to_alias.php)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity58

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3762d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5584709?v=4)[Nguyen Van Vuong (Vic)](/maintainers/euclid1990)[@euclid1990](https://github.com/euclid1990)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/euclid1990-php-ios-emoji/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[artesaos/seotools

SEO Tools for Laravel and Lumen

3.4k5.3M63](/packages/artesaos-seotools)[cmgmyr/messenger

Simple user messaging tool for Laravel

2.6k2.5M6](/packages/cmgmyr-messenger)[anahkiasen/former

A powerful form builder

1.3k1.4M14](/packages/anahkiasen-former)[glorand/laravel-model-settings

Model Settings for your Laravel app

9141.1M4](/packages/glorand-laravel-model-settings)[prologue/alerts

Prologue Alerts is a package that handles global site messages.

3486.4M36](/packages/prologue-alerts)

PHPackages © 2026

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