giberti/emoji-data

PHP classes with constant to multibyte emoji characters

1.4 2024-09-11 12:45 UTC

This package is auto-updated.

Last update: 2024-10-11 13:00:13 UTC


README

To Rebuild Data Files

  1. Edit the URL to parse in builder/Parser.php around line 10
  2. Start a docker image to install the dependencies and run the builder
docker run -it --rm -v `pwd`:/app composer:latest bash
composer install
cd builder
php Parser.php
  1. If add any additional backwards compatible CLDR mappings to builder/Templates/Emoji.twig and builder/Templates/Mappings.twig
  2. Start (or reuse) a docker image to run the tests
docker run -it --rm -v `pwd`:/app composer:latest bash
./vendor/bin/phpunit
  1. Cut a new release