Get access to +3600 emojis as class constants
Go to file
Jawira Portugal ae2893551f
Merge pull request #12 from jawira/9-emoji-sequences
Explain emoji sequences in readme
2020-09-18 13:35:25 +02:00
.idea Update to emoji v13 #6 2020-02-20 21:08:28 +01:00
docs Cleaning Emoji class removing comments #8 2020-09-17 10:38:05 +02:00
resources Update to emoji v13 #6 2020-02-20 21:08:28 +01:00
src Cleaning Emoji class removing comments #8 2020-09-17 10:38:05 +02:00
.editorconfig Create EmojiCatalog 2019-08-30 21:30:16 +02:00
.gitattributes Cleaning Emoji class removing comments #8 2020-09-17 10:38:05 +02:00
.gitignore Create EmojiCatalog 2019-08-30 21:30:16 +02:00
build.png Cleaning Emoji class removing comments #8 2020-09-17 10:38:05 +02:00
build.xml Cleaning Emoji class removing comments #8 2020-09-17 10:38:05 +02:00
CHANGELOG.md Preparing for v2.0.1 2020-09-17 10:47:30 +02:00
composer.json Update to emoji v13 #6 2020-02-20 21:08:28 +01:00
CONTRIBUTING.md Create EmojiCatalog 2019-08-30 21:30:16 +02:00
LICENSE.md Create EmojiCatalog 2019-08-30 21:30:16 +02:00
README.md Emoji sequences #9 2020-09-18 13:04:51 +02:00

Emoji catalog 📔

Get access to +3300 emojis as class constants.

Features:

  • 🍰 Dead easy to use
  • 🤩 A lot of emojis
  • 🔓 Zero dependencies

You can see the full emoji list.

Latest Stable Version Emoji version Total Downloads License composer.lock PDS Skeleton Issues HitCount

Usage

You have access to emojis as \Jawira\EmojiCatalog\Emoji constants:

<?php
use Jawira\EmojiCatalog\Emoji;

echo Emoji::GRINNING_FACE;  // 😀
echo Emoji::SOCCER_BALL;    // ⚽
echo Emoji::HOURGLASS_DONE; // ⌛
echo Emoji::EJECT_BUTTON;   // ⏏

Your favorite IDE should give you autocomplete since you are simply calling class constants:

Autocomplete

How to install

$ composer require jawira/emoji-catalog

Emoji sequences

An emoji sequence is an emoji composed of other emojis. For example the character "👨‍👩‍👧" is composed of five characters: U+1F468 U+200D U+1F469 U+200D U+1F467.

You don't need to compose your emojis, jawira/emoji-catalog comes with all possible sequences as class constants:

echo Emoji::FAMILY_MAN_WOMAN_GIRL; // 👨‍👩‍👧

Contributing

If you liked this project, star it on GitHub.

License

This library is licensed under the MIT license.


Packages from jawira

jawira/case-converter (library)
Convert strings between 13 naming conventions: Snake case, Camel case, Pascal case, Kebab case, Ada case, Train case, Cobol case, Macro case, Upper case, Lower case, Sentence case, Title case and Dot notation.
jawira/plantuml (library)
Provides PlantUML integration: plantuml executable and plantuml.jar
jawira/plantuml-encoding (library)
PlantUML encoding functions.
more...