wnx/emojis

This package is abandoned and no longer maintained. No replacement package was suggested.

Up to date Emojis as PHP Classes

dev-main 2022-02-10 18:55 UTC

This package is auto-updated.

Last update: 2023-01-10 21:00:52 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.