voku/portable-utf8
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| paquettg/string-encode | 0.87 | 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 | — | |
| devanoxltd/string-encoder | 0.83 | — | 0 | 0 | 0 | 14 | 0 | 5.4 | 16.9 | MIT | 9 months ago | |
| symfony/string | 0.83 | 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 | |
| danielstjules/stringy | 0.82 | 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 | |
| voku/portable-ascii | 0.82 | 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 | — | |
| neitanod/forceutf8 | 0.81 | 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 | 329K | 12 | 23.8 | 37.4 | — | 7 years ago | |
| clue/utf8-react | 0.78 | Streaming UTF-8 parser for ReactPHP streams. Wraps a ReadableStream to ensure emitted chunks contain only complete, valid UTF-8 sequences, buffering split multibyte characters and replacing invalid bytes with a configurable placeholder. | 66 | 66 | 6 | 263K | 9 | 5.1 | 51.9 | MIT | 2 years ago | |
| patchwork/utf8 | 0.78 | 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 | 125K | 0 | 6.8 | 22.4 | Apache-2.0 | 5 years ago | |
| voku/stringy | 0.77 | 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 | 35K | 0 | 1.7 | 31.6 | MIT | — | |
| voku/anti-xss | 0.77 | PHP AntiXSS library to sanitize untrusted HTML and prevent XSS attacks. Cleans input by removing dangerous tags/attributes, filters CSS/JS vectors, and supports UTF-8 and common encodings. Useful for safely handling user-generated content in apps. | 709 | 727 | 117 | 290K | 1 | 7.3 | 36.0 | MIT | — | |
| yiisoft/strings | 0.76 | 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 | |
| voku/urlify | 0.75 | PHP URL slugifier/transliterator (URLify.js port) that converts UTF-8 strings into readable, URL-safe slugs and filenames. Supports many languages via mapping tables with Portable ASCII fallback, plus helpers like downcode/transliterate and custom char rules. | 25 | 27 | 5 | 43K | 0 | 0.4 | 44.5 | BSD-3-Clause | — | |
| cosmologist/gears | 0.75 | Handy helper library for PHP and Symfony with utility functions for arrays, strings, objects, numbers, files, cache, callables, classes, and Guzzle, plus integrations for Doctrine, Symfony components (Forms, Messenger, Security, Twig, Validator) and value objects (identifiers/UUID). | 8 | 8 | 1 | 0 | 0 | 3.1 | — | — | 11 months ago | |
| myerscode/utilities-strings | 0.75 | A small PHP utility library providing string helper functions for common formatting and manipulation tasks. Useful for Laravel or plain PHP projects to reduce boilerplate for trimming, case conversion, searching, and other everyday string operations. | 1 | 1 | 0 | 620 | 0 | 16.3 | 39.3 | MIT | 2 months ago | |
| voku/arrayy | 0.75 | — | 488 | 491 | 34 | 59K | 1 | 4.0 | 29.8 | MIT | — |
How can I help you explore Laravel packages today?