paquettg/string-encode
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| voku/portable-utf8 | 0.87 | 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 | 88 | 371K | 2 | 5.8 | 40.1 | Apache-2.0 | — | |
| symfony/string | 0.83 | Symfony String component: object-oriented string API that handles bytes, UTF-8 code points, and grapheme clusters consistently. Includes tools for safe string manipulation and normalization, with full docs and contribution resources on symfony.com. | 1,780 | 1,792 | 19 | 17M | 0 | 43.5 | 64.7 | MIT | 1 week ago | |
| lasserafn/php-string-script-language | 0.83 | 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 | 93K | 0 | 1.3 | 50.4 | MIT | 3 years ago | |
| onnov/detect-encoding | 0.81 | Fast Cyrillic text encoding detector for PHP to replace unreliable mb_detect_encoding. Identifies Windows-1251, KOI8-R, ISO-8859-5 (optionally IBM866/MacCyrillic) using code page ranges, with high accuracy even on short strings and very large texts. | 22 | 23 | 5 | 129K | 1 | 2.2 | 51.7 | MIT | 5 years ago | |
| riimu/kit-phpencoder | 0.81 | Export PHP variables as customizable, readable or compact PHP code. A flexible alternative to var_export() with control over whitespace, array syntax, and useful object conversion—ideal for generated config files and optimized cache output. | 71 | 74 | 5 | 152K | 2 | 4.2 | 45.8 | MIT | 3 years ago | |
| devanoxltd/string-encoder | 0.81 | — | 0 | 0 | 0 | 17 | 0 | 3.2 | 17.7 | MIT | 11 months ago | |
| php-standard-library/str | 0.81 | Lightweight string utility library for PHP, providing common helpers for formatting, parsing, and safe string handling. Designed as a simple “standard library” add-on with a small API surface and easy composer integration. | 1 | 1 | 0 | 36K | 0 | 17.7 | 63.2 | MIT | 2 months ago | |
| danielstjules/stringy | 0.80 | 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,436 | 2,476 | 218 | 87K | 18 | 32.1 | 32.7 | MIT | 9 years ago | |
| yiisoft/strings | 0.80 | 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 | 90K | 4 | 11.0 | 48.3 | BSD-3-Clause | 8 months ago | |
| voku/stringy | 0.80 | 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. | 180 | 187 | 24 | 39K | 0 | 1.7 | 32.1 | MIT | — | |
| symfony/polyfill-mbstring | 0.80 | Partial native PHP polyfill for the mbstring extension, enabling multibyte string functions when ext-mbstring isn’t available. Part of Symfony’s Polyfill suite; provides compatible helpers to improve portability across environments. | 7,818 | 7,846 | 39 | 20M | 0 | 45.6 | 54.2 | MIT | 1 month ago | |
| symfony/polyfill-php84 | 0.80 | Symfony Polyfill for PHP 8.4 features, enabling newer core functions and APIs on older runtimes. Includes array_find/any/all, bcdivmod, Deprecated attribute, fpow, grapheme_str_split, mb_* trim/ucfirst/lcfirst, PDO subclasses, and ReflectionConstant. | 138 | 139 | 5 | 14M | 0 | 19.2 | 63.3 | MIT | 2 months ago | |
| zbateson/mb-wrapper | 0.80 | Lightweight PHP wrapper for mbstring that normalizes multibyte string operations across environments. Provides consistent encoding-aware helpers and safe fallbacks when mbstring isn’t available, making string handling more reliable in libraries and apps. | 49 | 49 | 8 | 1M | 0 | 23.7 | 64.9 | BSD-2-Clause | 1 month ago | |
| voku/portable-ascii | 0.79 | 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. | 577 | 580 | 52 | 13M | 17 | 10.2 | 62.7 | MIT | — | |
| juy/character-solver | 0.79 | 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 | |
| eventsauce/uuid-encoding | 0.79 | — | 1 | 1 | 0 | 30K | 0 | 0.0 | 55.3 | — | — | |
| patchwork/utf8 | 0.79 | 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. | 628 | 647 | 46 | 109K | 0 | 6.8 | 21.9 | Apache-2.0 | 5 years ago | |
| 1tomany/data-uri-bundle | 0.78 | — | 0 | 0 | 0 | 18 | 0 | 24.0 | 20.8 | MIT | 6 days ago | |
| neitanod/forceutf8 | 0.78 | 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 | 408K | 12 | 23.8 | 38.7 | — | 7 years ago | |
| hyperf/codec | 0.78 | — | 0 | 0 | 0 | 47K | 1 | 24.6 | 64.1 | MIT | 1 month ago |
How can I help you explore Laravel packages today?