giberti/emoji-data

PHP classes with constant to multibyte emoji characters

1.3 2023-10-15 20:20 UTC

This package is auto-updated.

Last update: 2024-04-15 21:26:16 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