fab2s/utf8
Multibyte-safe UTF-8 string utilities for PHP and Laravel. Provides dependable helpers for length, substring, case conversion, and encoding validation, so applications handle international text and emoji correctly without corrupting characters or breaking output.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| fab2s/bom | 0.85 | fab2s/bom is a lightweight PHP utility for handling Byte Order Marks, with simple, dependency-free helpers to detect, strip, and manage BOM sequences in strings and files. It keeps UTF-8 content clean and stops invisible BOM characters from breaking output, headers, or comparisons. | 2 | 2 | 0 | 7K | 0 | 14.6 | 52.7 | MIT | 3 months ago | |
| fab2s/strings | 0.84 | fab2s/strings is a lightweight, fluent, multibyte-safe string manipulation library for PHP. It offers chainable helpers for transforming, formatting, inspecting, and comparing strings, plus convenient Laravel integration and an expressive API for everyday development tasks. | 2 | — | 0 | — | 0 | 14.6 | — | MIT | 3 months ago |
|
| voku/portable-utf8 | 0.82 | 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. | 518 | 523 | 89 | 513K | 8 | 7.8 | 44.4 | Apache-2.0 | — | |
| fylax/forceutf8 | 0.80 | ForceUTF8 is a PHP library for cleaning and converting text to valid UTF-8. It fixes invalid byte sequences and double-encoded characters, making it useful for sanitizing user input, database data, and JSON/API output before storage or display. | 24 | 25 | 3 | 31K | 0 | 19.7 | 50.1 | BSD-3-Clause | 1 week ago | |
| christian-riesen/base32 | 0.79 | A strict RFC 4648 Base32 encoder and decoder for PHP, with support for the extended hex alphabet. Decoding rejects malformed input, and the package includes test vectors and unit tests. | 134 | 135 | 30 | 1M | 0 | 19.5 | 60.6 | MIT | 3 months ago | |
| 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. | 626 | 647 | 45 | 91K | 0 | 6.7 | 21.1 | Apache-2.0 | 5 years ago | |
| clue/utf8-react | 0.79 | 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 | 254K | 9 | 5.1 | 51.6 | MIT | 2 years 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,630 | 1,644 | 355 | 537K | 12 | 23.7 | 40.3 | — | 8 years ago | |
| cybercog/php-unicode | 0.78 | cybercog/php-unicode is a lightweight PHP library for safe Unicode string handling—measure, slice, reverse, and transform UTF-8 text with multibyte-aware functions. Avoid broken characters and encoding bugs when working with emoji, international input, or non-ASCII content in Laravel or plain PHP. | 1 | 1 | 0 | 643 | 1 | 6.7 | 36.6 | MIT | 8 months ago | |
| php-standard-library/php-standard-library | 0.78 | A standard library for PHP 8.4+ inspired by hhvm/hsl, offering consistent, well-typed APIs for async, collections, networking, I/O, cryptography, and terminal UI, replacing PHP primitives with safer, async-ready alternatives that error predictably. | 1,569 | 1,562 | 94 | 305K | 22 | 47.5 | 46.5 | MIT | 1 week ago | |
| phpstan/phpstan | 0.77 | PHPStan is a PHP static analysis tool that finds bugs in your code without running it. It catches whole classes of errors before tests are written, bringing compiled-language-style correctness checks to PHP projects. | 14,147 | 14,221 | 972 | 19M | 1,056 | 94.9 | 77.1 | MIT | 3 days ago | |
| lasserafn/php-string-script-language | 0.77 | 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 | 114K | 0 | 1.3 | 51.6 | MIT | 3 years ago | |
| php-standard-library/str | 0.77 | Unicode-aware string functions for PHP that replace mb_* and standard string functions with a consistent, modern API. Part of the PHP Standard Library, Str offers reliable multibyte-safe handling for everyday string operations. | 1 | 1 | 0 | 80K | 0 | 21.6 | 64.9 | MIT | 1 week ago |
How can I help you explore Laravel packages today?