Grapheme is a PHP library created by Aaron Francis to accurately determine the display width of Unicode characters in terminal applications. This package supports a wide range of Unicode characters including CJK characters, emojis, zero-width characters, and more. It is optimized for high performance and minimal dependencies, requiring PHP 8.2+ and optionally the intl extension. For more details and installation instructions, visit the Grapheme GitHub repository.
Sort: