File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -402,6 +402,21 @@ platforms::
402
402
Combine this emoji transliterator with the :ref: `Symfony String slugger <string-slugger-emoji >`
403
403
to improve the slugs of contents that include emojis (e.g. for URLs).
404
404
405
+ The data needed to store the transliteration of all emojis (~5,000) into all
406
+ languages take a considerable disk space. If you need to save disk space (e.g.
407
+ because you deploy to some service with tight size constraints), run this command
408
+ (e.g. as an automated script after ``composer install ``) to compress the internal
409
+ Symfony emoji files using the PHP ``zlib `` extension:
410
+
411
+ .. code-block :: terminal
412
+
413
+ # adjust the path to the 'compress' binary based on your application installation
414
+ $ php ./vendor/symfony/intl/Resources/bin/compress
415
+
416
+ .. versionadded :: 6.3
417
+
418
+ The ``compress `` binary was introduced in Symfony 6.3.
419
+
405
420
Learn more
406
421
----------
407
422
You can’t perform that action at this time.
0 commit comments