PHPackages                             anyforever/laravel-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. anyforever/laravel-emoji

ActiveLibrary

anyforever/laravel-emoji
========================

An emojione bridge for Laravel 5.

1.1.1(5y ago)012MITPHPPHP &gt;=5.5

Since Jul 24Pushed 5y agoCompare

[ Source](https://github.com/anyforever/laravel-emoji)[ Packagist](https://packagist.org/packages/anyforever/laravel-emoji)[ RSS](/packages/anyforever-laravel-emoji/feed)WikiDiscussions master Synced yesterday

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

 Laravel Emoji
===============

[](#-laravel-emoji-)

 😄 This package assist you in getting started with emoji easily.

Installing
----------

[](#installing)

```
$ composer require overtrue/laravel-emoji
```

> Laravel 5.5 auto-discovery supported.

If you are using &lt; laravel 5.5

### Add service provider

[](#add-service-provider)

```
Overtrue\LaravelEmoji\EmojiServiceProvider::class,
```

### Add alias

[](#add-alias)

```
'Emoji' => Overtrue\LaravelEmoji\Emoji::class,
```

Usage
-----

[](#usage)

```
Emoji::toImage(':smile:'); // '
Emoji::toShort('😄'); // :smile:
Emoji::shortnameToUnicode(':smile:'); // 😄

// using helper
// default transform shorname to unicode, you can change it in config file.
emoji(':smile:'); // 😄

// access emoji services, return \Emojione\Client instance.
app('emoji');
// or
app(\Emojione\Client::class);
```

### Configurations &amp;&amp; emoji images

[](#configurations--emoji-images)

```
// config
$ php artisan vendor:publish --provider="Overtrue\\LaravelEmoji\\EmojiServiceProvider" --tag=config

// png images
$ php artisan vendor:publish --provider="Overtrue\\LaravelEmoji\\EmojiServiceProvider" --tag=public

// sprites images
$ php artisan vendor:publish --provider="Overtrue\\LaravelEmoji\\EmojiServiceProvider" --tag=sprites
```

PHP 扩展包开发
---------

[](#php-扩展包开发)

> 想知道如何从零开始构建 PHP 扩展包？
>
> 请关注我的实战课程，我会在此课程中分享一些扩展开发经验 —— [《PHP 扩展包实战教程 - 从入门到发布》](https://learnku.com/courses/creating-package)

License
-------

[](#license)

MIT

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 76.5% 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 ~638 days

Total

3

Last Release

1938d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/787409?v=4)[anyforever](/maintainers/anyforever)[@anyforever](https://github.com/anyforever)

---

Top Contributors

[![overtrue](https://avatars.githubusercontent.com/u/1472352?v=4)](https://github.com/overtrue "overtrue (13 commits)")[![anyforever](https://avatars.githubusercontent.com/u/787409?v=4)](https://github.com/anyforever "anyforever (1 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (1 commits)")[![summerblue](https://avatars.githubusercontent.com/u/324764?v=4)](https://github.com/summerblue "summerblue (1 commits)")[![wuwx](https://avatars.githubusercontent.com/u/4401?v=4)](https://github.com/wuwx "wuwx (1 commits)")

### Embed Badge

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

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

###  Alternatives

[christofferok/laravel-emojione

Laravel helper for EmojiOne

139115.8k](/packages/christofferok-laravel-emojione)[abei2017/yii2-emoji

一个yii2的emoji扩展

171.1k](/packages/abei2017-yii2-emoji)

PHPackages © 2026

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