patchwork/utf8
Portable UTF-8 and grapheme cluster handling for PHP. Provides pure-PHP fallbacks for mbstring, iconv, and intl Normalizer/grapheme_* functions plus UTF-8-aware replacements for native string functions, improving reliability across servers.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| symfony/polyfill | 0.84 | Symfony Polyfill backports newer PHP features and adds compatibility layers for missing extensions/functions, helping apps run across diverse PHP versions. Includes polyfills for mbstring/iconv, intl, uuid, APCu/APC, and many PHP 7–8 functions/constants. | 2,810 | 2,809 | 158 | 39K | 0 | 40.6 | 19.0 | MIT | 1 week ago | |
| phenx/php-font-lib | 0.83 | Read and parse TrueType, OpenType (TT glyphs) and WOFF fonts in PHP. Extract basic/advanced metadata, metrics, glyph names and shapes, generate Adobe Font Metrics (AFM), and build font subsets. Used by dompdf for font handling. | 1,797 | 1,805 | 257 | 2M | 16 | 39.0 | 54.5 | LGPL-2.1 | 4 months ago | |
| juy/character-solver | 0.83 | Laravel middleware that converts specific HTML entities back into characters (e.g., ç→ç, ö→ö, ü→ü). Includes configurable translation map and an enable/disable flag; can run globally or be added manually to the HTTP Kernel. | 1 | 1 | 0 | 0 | 1 | 3.4 | — | MIT | 9 years ago | |
| open-southeners/extended-php | 0.82 | Extended PHP helpers for modern apps: adds convenient functions, utilities, and small enhancements that complement core PHP to reduce boilerplate and speed up everyday development. Lightweight, easy to drop into existing projects. | 0 | 0 | 0 | 82 | 0 | 15.2 | 28.4 | MIT | 7 months ago | |
| symfony/polyfill-ctype | 0.82 | Symfony Polyfill for Ctype provides drop-in ctype_* functions for PHP installations missing the ctype extension. Ensures consistent character classification across environments and older PHP versions as part of Symfony’s Polyfill suite. | 4,044 | 4,047 | 6 | 17M | 0 | 39.0 | 57.7 | MIT | 1 month ago | |
| symfony/polyfill-intl-grapheme | 0.82 | Native PHP polyfill for the Intl Grapheme functions, for working with UTF-8 grapheme clusters. Provides grapheme_strlen, grapheme_substr, grapheme_strpos/stripos, grapheme_extract, grapheme_str_split, and related helpers when ext-intl isn’t available. | 1,736 | 1,736 | 5 | 16M | 0 | 30.5 | 64.4 | MIT | 1 week ago | |
| symfony/string | 0.81 | Object-oriented string handling for PHP with unified support for raw bytes, UTF-8 code points, and grapheme clusters. Provides robust, consistent string manipulation utilities as part of the Symfony ecosystem. | 1,787 | 1,796 | 19 | 16M | 0 | 42.7 | 64.3 | MIT | 1 week ago | |
| cakephp/i18n | 0.81 | CakePHP I18n library for localization: set the current locale, load/organize PO translation bundles, and translate messages with ICU formatting. Includes Time and Number helpers to format dates, currencies, and numeric output per locale. | 28 | 28 | 4 | 3K | 0 | 0.3 | 28.5 | NOASSERTION | — | |
| php-translation/common | 0.81 | Shared contracts and utilities for the PHP Translation ecosystem. Provides common interfaces, models, and helpers used across translation bundles to keep integrations consistent and reduce duplication, making it easier to build and maintain translation features in PHP apps. | 93 | 93 | 7 | 35K | 1 | 4.7 | 35.5 | — | 2 years ago | |
| voku/stringy | 0.81 | voku/stringy is a PHP string manipulation library with a fluent, chainable API and multibyte/Unicode-safe helpers. It offers common text utilities like trimming, casing, slugging, replacing, and comparisons, aiming for predictable results across encodings. | 179 | 186 | 24 | 34K | 0 | 1.7 | 31.5 | MIT | — | |
| lasserafn/php-string-script-language | 0.80 | Detect which writing system a string uses with a simple PHP API. Check if text contains Arabic, Latin, Cyrillic, Thai, Han/Chinese, Japanese (Hiragana/Katakana), and many more scripts via boolean helpers like StringScript::isThai($text). | 20 | 22 | 1 | 81K | 0 | 1.3 | 49.5 | MIT | 2 years ago | |
| neitanod/forceutf8 | 0.80 | Fix and normalize mixed-encoded PHP strings. ForceUTF8 converts unknown input (UTF-8, Latin-1/ISO-8859-1, Windows-1252, or mixes) to clean UTF-8, and repairs double-encoded “garbled” text via fixUTF8, with optional iconv flags. | 1,633 | 1,644 | 358 | 328K | 12 | 23.8 | 37.4 | — | 7 years ago | |
| paquettg/string-encode | 0.79 | Flexible PHP string encoding helper for multibyte text. Convert strings safely between encodings (UTF-8 by default) with a fluent API, plus utilities for encoding-aware regex handling. Supports PHP 7.2–7.4. | 69 | 69 | 21 | 106K | 1 | 1.2 | 43.9 | MIT | — | |
| phpmyadmin/twig-i18n-extension | 0.79 | Twig extension that adds i18n helpers for phpMyAdmin and other Twig-based apps. Provides translation-related functions/filters to integrate localization into templates with minimal setup and overhead. | 20 | 21 | 4 | 17K | 1 | 10.3 | 42.2 | MIT | 8 months ago | |
| danielstjules/stringy | 0.79 | Stringy is a PHP library for Unicode-safe string manipulation with a fluent, object-oriented API. Chain helpers for trimming, casing, substrings, padding, replacing, slugifying, and more, without worrying about multibyte issues. | 2,438 | 2,478 | 216 | 105K | 17 | 31.7 | 33.3 | MIT | 8 years ago | |
| symfony/emoji | 0.79 | Symfony Emoji component: access Unicode CLDR emoji characters and sequences in PHP. Includes a helper to compress bundled emoji data when zlib is enabled. Documentation and contributions are managed through the main Symfony repository. | 13 | 13 | 2 | 72K | 0 | 29.1 | 60.3 | MIT | 1 week ago | |
| yiisoft/strings | 0.78 | Yii Strings provides fast, multibyte-safe string utilities for PHP: StringHelper and NumericHelper, Inflector (pluralize, slug), wildcard pattern matching, and optimized combined regex matching with optional memoization. | 49 | 51 | 19 | 63K | 5 | 14.8 | 48.2 | BSD-3-Clause | 6 months ago | |
| spatie/emoji | 0.77 | Work with emoji in PHP without relying on your IDE/font. Use the Spatie\Emoji\Emoji class to access emoji as constants or friendly camelCase methods like Emoji::grinningFace(), or fetch all emojis via Emoji::all(). | 468 | 474 | 51 | 39K | 0 | 20.9 | 28.9 | MIT | 1 week ago | |
| voku/portable-utf8 | 0.77 | High-performance UTF-8 helper library for PHP with portable polyfills for mbstring and intl features. Provides fast string operations, validation, normalization, encoding fixes, and safe text handling across environments without extra extensions. | 520 | 524 | 91 | 357K | 2 | 6.2 | 41.0 | Apache-2.0 | — | |
| voku/portable-ascii | 0.77 | PHP 7+ library to transliterate Unicode to portable ASCII for slugs, URLs, and safe filenames. Works without mbstring/iconv, lightweight and easy to bundle. Based on Unidecode/Stringy-style mappings with handy helper methods. | 574 | 578 | 48 | 11M | 17 | 10.0 | 62.4 | MIT | — |
How can I help you explore Laravel packages today?