PHPackages                             marufmax/emoticon-php - 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. marufmax/emoticon-php

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

marufmax/emoticon-php
=====================

An Elegant Emoji/Emoticon package for PHP

1.1.0(2y ago)3236.1k↓22.5%4[1 issues](https://github.com/marufmax/emoticon-php/issues)MITPHPPHP &gt;=7.0CI failing

Since Jan 26Pushed 2y ago2 watchersCompare

[ Source](https://github.com/marufmax/emoticon-php)[ Packagist](https://packagist.org/packages/marufmax/emoticon-php)[ Docs](https://github.com/marufmax/emoticon-php)[ RSS](/packages/marufmax-emoticon-php/feed)WikiDiscussions master Synced yesterday

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

Emoticon PHP
============

[](#emoticon-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/6bcd266497a3b70c52adf8ab72df06488693b145de8901fa49cb6326956a2e87/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d617275666d61782f656d6f7469636f6e2d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/marufmax/emoticon-php)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](readme.md)[![Quality Score](https://camo.githubusercontent.com/def57bf2248e9ca167d774e7c8fcc0a60c37ed249c12e0f1b5a27b660cbf3e06/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f6d617275666d61782f656d6f7469636f6e2d7068702e7376673f7374796c653d666c61742d7371756172)](https://scrutinizer-ci.com/g/marufmax/emoticon-php)[![Code Coverage](https://camo.githubusercontent.com/bab3bd539255772ac86918cff73dda903ca653992b93a801ffc4b87e40f91aed/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6d617275666d61782f656d6f7469636f6e2d7068703f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/marufmax/emoticon-php)[![StyleCI](https://camo.githubusercontent.com/b62f87f7bd8edce72f985e3c1cb3ec0b617dbe74d3039a757011ef9f120f9768/68747470733a2f2f7374796c6563692e696f2f7265706f732f3233353237363432362f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/235276426)

Composer package for emoticons 🎉

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

[](#installation)

You need [PHP](https://php.net) and [Composer](https://getcomposer.org/download/) before installing this package.

just run `composer require marufmax/emoticon-php` in your project's directory

Usages Example
--------------

[](#usages-example)

```
    $emoji = new \MarufMax\Emoticon\Emoticon();

    $emoji->random();  // will display an random emoji ==> 🍕️
    $emoji->get('heart'); // it will return an emoji with heart ❤, note: this also support with colon
    $emoji->get(':heart:');
    $emoji->search('hea'); // This will return an array with all emojies and key name matching with word `hea`
    $emoji->emojify('I like :metal: ');  // It will render the text with metal emoji
```

Testing
-------

[](#testing)

```
$composer test
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.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 ~707 days

Total

3

Last Release

934d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7fb7ebc0e5248f15ddbc053f744e6be86259261962b8b5ef43389d29e99a8953?d=identicon)[marufalom](/maintainers/marufalom)

---

Top Contributors

[![marufmax](https://avatars.githubusercontent.com/u/7222229?v=4)](https://github.com/marufmax "marufmax (28 commits)")[![fjgarlin](https://avatars.githubusercontent.com/u/898540?v=4)](https://github.com/fjgarlin "fjgarlin (2 commits)")[![ismaail](https://avatars.githubusercontent.com/u/4411670?v=4)](https://github.com/ismaail "ismaail (1 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")

---

Tags

phpemojiphp-emojiemoticonsimily-php

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/marufmax-emoticon-php/health.svg)

```
[![Health](https://phpackages.com/badges/marufmax-emoticon-php/health.svg)](https://phpackages.com/packages/marufmax-emoticon-php)
```

###  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.7k8.0M62](/packages/rinvex-countries)[elvanto/litemoji

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

884.9M12](/packages/elvanto-litemoji)[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.3k550.9k](/packages/iamcal-php-emoji)[spatie/emoji

Display emoji characters

4751.3M40](/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.

468894.0k7](/packages/joypixels-emoji-toolkit)[jawira/emoji-catalog

Get access to +3700 emojis as class constants

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

PHPackages © 2026

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