2019-08-30 22:22:51 +03:00
|
|
|
Emoji catalog 📔
|
|
|
|
==============
|
|
|
|
|
2020-09-21 10:07:01 +03:00
|
|
|
Get access to +3500 emojis as class constants.
|
2019-08-30 22:22:51 +03:00
|
|
|
|
|
|
|
Features:
|
|
|
|
|
2019-10-01 00:11:03 +03:00
|
|
|
- 🍰 Dead easy to use
|
2019-08-31 21:39:34 +03:00
|
|
|
- 🤩 A lot of emojis
|
2019-10-01 00:11:03 +03:00
|
|
|
- 🔓 Zero dependencies
|
2019-08-30 22:22:51 +03:00
|
|
|
|
2020-02-20 23:08:28 +03:00
|
|
|
You can see the [full emoji list].
|
2019-10-02 00:08:31 +03:00
|
|
|
|
2019-08-30 22:22:51 +03:00
|
|
|
[![Latest Stable Version](https://poser.pugx.org/jawira/emoji-catalog/v/stable)](https://packagist.org/packages/jawira/emoji-catalog)
|
2020-09-21 10:07:01 +03:00
|
|
|
[![Emoji version](https://img.shields.io/badge/Emoji-v13.1-%23ff69b4)](https://unicode.org/emoji/charts-13.1/emoji-released.html)
|
2019-08-30 22:22:51 +03:00
|
|
|
[![License](https://poser.pugx.org/jawira/emoji-catalog/license)](https://packagist.org/packages/jawira/emoji-catalog)
|
|
|
|
[![composer.lock](https://poser.pugx.org/jawira/emoji-catalog/composerlock)](https://packagist.org/packages/jawira/emoji-catalog)
|
|
|
|
[![PDS Skeleton](https://img.shields.io/badge/pds-skeleton-blue.svg)](https://github.com/php-pds/skeleton)
|
2019-12-07 16:20:33 +03:00
|
|
|
[![HitCount](http://hits.dwyl.io/jawira/emoji-catalog.svg)](http://hits.dwyl.io/jawira/emoji-catalog)
|
2019-08-30 22:22:51 +03:00
|
|
|
|
|
|
|
Usage
|
|
|
|
-----
|
|
|
|
|
|
|
|
You have access to emojis as `\Jawira\EmojiCatalog\Emoji` constants:
|
|
|
|
|
|
|
|
```php
|
|
|
|
<?php
|
|
|
|
use Jawira\EmojiCatalog\Emoji;
|
|
|
|
|
|
|
|
echo Emoji::GRINNING_FACE; // 😀
|
|
|
|
echo Emoji::SOCCER_BALL; // ⚽
|
|
|
|
echo Emoji::HOURGLASS_DONE; // ⌛
|
|
|
|
echo Emoji::EJECT_BUTTON; // ⏏
|
|
|
|
```
|
|
|
|
|
2019-08-31 21:39:34 +03:00
|
|
|
Your favorite IDE should give you autocomplete since you are simply calling
|
|
|
|
class constants:
|
2019-08-30 22:22:51 +03:00
|
|
|
|
|
|
|
![Autocomplete](docs/images/autocomplete.png)
|
|
|
|
|
|
|
|
How to install
|
|
|
|
--------------
|
|
|
|
|
|
|
|
```
|
|
|
|
$ composer require jawira/emoji-catalog
|
|
|
|
```
|
|
|
|
|
2020-09-18 13:46:44 +03:00
|
|
|
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:
|
|
|
|
|
|
|
|
```php
|
|
|
|
echo Emoji::FAMILY_MAN_WOMAN_GIRL; // 👨👩👧
|
|
|
|
```
|
|
|
|
|
2019-08-30 22:22:51 +03:00
|
|
|
Contributing
|
|
|
|
------------
|
|
|
|
|
|
|
|
If you liked this project, ⭐ star it on [GitHub].
|
|
|
|
|
|
|
|
License
|
|
|
|
-------
|
|
|
|
|
|
|
|
This library is licensed under the [MIT license](LICENSE.md).
|
|
|
|
|
|
|
|
[GitHub]: https://github.com/jawira/emoji-catalog
|
2020-02-20 23:08:28 +03:00
|
|
|
[full emoji list]: https://github.com/jawira/emoji-catalog/blob/master/docs/catalog.md
|
2019-08-30 22:22:51 +03:00
|
|
|
|
|
|
|
***
|
|
|
|
|
2019-10-02 00:08:31 +03:00
|
|
|
Packages from jawira
|
|
|
|
--------------------
|
2019-08-30 22:22:51 +03:00
|
|
|
|
|
|
|
<dl>
|
|
|
|
|
2020-09-21 10:07:01 +03:00
|
|
|
<dt>
|
|
|
|
<a href="https://packagist.org/packages/jawira/plantuml">jawira/plantuml
|
|
|
|
<img alt="GitHub stars" src="https://badgen.net/github/stars/jawira/plantuml?icon=github"/></a>
|
|
|
|
</dt>
|
|
|
|
<dd>Provides PlantUML executable and plantuml.jar</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
|
|
<a href="https://packagist.org/packages/jawira/plantuml-encoding"> jawira/plantuml-encoding
|
|
|
|
<img alt="GitHub stars" src="https://badgen.net/github/stars/jawira/plantuml-encoding?icon=github"/></a>
|
|
|
|
</dt>
|
|
|
|
<dd>PlantUML encoding functions.</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
|
|
<a href="https://packagist.org/packages/jawira/case-converter">jawira/case-converter
|
|
|
|
<img alt="GitHub stars" src="https://badgen.net/github/stars/jawira/case-converter?icon=github"/></a>
|
|
|
|
</dt>
|
|
|
|
<dd>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.
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt><a href="https://packagist.org/packages/jawira/">More...</a></dt>
|
2019-08-30 22:22:51 +03:00
|
|
|
</dl>
|