wnx/emojis

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Up to date Emojis as PHP Classes

dev-main 2021-04-05 07:38 UTC

This package is auto-updated.

Last update: 2021-10-05 08:35:34 UTC


README

Latest Version on Packagist GitHub Tests Action Status Total Downloads

A composer package containing all available Emoji combinations as PHP classes. Why? Why not?!

Installation

You can install the package via composer:

composer require wnx/emojis

Usage

use Wnx\Emojis\Emojis\Princess;

$emoji = new Princess();
echo $emoji->symbol();

Princess::SYMBOL;
Princess::HEX;
Princess::CODE;
Princess::NAME;
Princess::GROUP;
Princess::NAME_WITH_UNDERSCORES;
Princess::TAGS;

Testing

composer test

Create Build

Regenerate Emoji classes by running the following commands.

composer install
yarn
composer run build

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.