voku/portable-ascii
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| voku/portable-utf8 | 0.85 | 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 | — | |
| voku/stringy | 0.84 | 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 | 57K | 1 | 1.9 | 34.9 | MIT | — | |
| juy/character-solver | 0.84 | 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 | |
| prinsfrank/transliteration | 0.83 | Typed PHP 8.1+ wrapper around ICU Transliterator. Build transliterators with strict, documented arguments instead of opaque rule strings, plus ready-to-use conversion sets for common transformations (e.g., names/addresses, identity verification, multi-language support). | 9 | 9 | 1 | 1K | 0 | 1.9 | 29.5 | MIT | 2 years ago | |
| devanoxltd/string-encoder | 0.83 | — | 0 | 0 | 0 | 48 | 0 | 0.6 | 23.4 | MIT | 1 year ago | |
| voku/urlify | 0.83 | 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 | 57K | 1 | 0.8 | 47.2 | BSD-3-Clause | — | |
| behat/transliterator | 0.82 | Abandoned PHP transliteration utility (ported from Perl Text-Unidecode). Provides static methods via Behat\Transliterator\Transliterator. Dataset hasn’t been updated since 2016; consider symfony/string, ext-intl Transliterator, or iconv //TRANSLIT. | 2,057 | 2,076 | 32 | 2M | 0 | 6.2 | 28.3 | NOASSERTION | 4 years ago | |
| voku/arrayy | 0.82 | — | 489 | 492 | 33 | 99K | 3 | 4.4 | 33.3 | MIT | — | |
| paquettg/string-encode | 0.82 | 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 | 133K | 1 | 1.2 | 43.7 | MIT | — | |
| whitecube/lingua | 0.82 | Lingua adds a translation management UI to Laravel: browse and edit PHP and JSON language files in one place, spot missing keys, and keep every locale in sync without hand-editing files. It installs quickly and slots into existing localization workflows. | 44 | — | 6 | — | 0 | 0.4 | — | MIT | 4 years ago |
|
| yiisoft/strings | 0.82 | 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 | 18 | 90K | 4 | 24.9 | 54.1 | BSD-3-Clause | 1 week ago | |
| voku/simple_html_dom | 0.82 | voku/simple_html_dom is a fast PHP HTML DOM parser and jQuery-style selector library. It wraps DOMDocument and Symfony CssSelector to find, extract, and manipulate HTML with UTF-8 and partial invalid-HTML support. Requires PHP 7.1+. | 901 | 917 | 107 | 308K | 1 | 8.5 | 37.3 | MIT | — | |
| lasserafn/php-string-script-language | 0.82 | 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/locale | 0.82 | PHP Standard Library Locale component providing locale-aware formatting and parsing utilities. Helps handle language/region settings, localized dates, numbers, and other internationalization tasks in PHP apps with a lightweight, straightforward API. | 1 | 1 | 0 | 113K | 0 | 21.4 | 64.8 | MIT | 1 week ago | |
| voku/anti-xss | 0.81 | AntiXSS is a lightweight PHP library for filtering malicious input and preventing cross-site scripting attacks. It cleans user-supplied strings and arrays, with support for custom sanitizing, making it a simple drop-in defense for web forms and input handling. | 711 | 729 | 121 | 439K | 1 | 26.5 | 44.9 | MIT | 4 weeks ago | |
| tecnickcom/tc-lib-unicode | 0.81 | tc-lib-unicode is a PHP library for working with Unicode text, offering character data, normalization forms, case mapping, and grapheme-aware string utilities. It helps PHP applications handle multilingual input correctly through a clean object-oriented API. | 12 | — | 9 | — | 0 | 19.6 | — | NOASSERTION | 2 weeks ago |
|
| forci/lexik-translation-ui-bundle | 0.81 | Provides a web interface for managing translations with LexikTranslationBundle, letting teams browse, edit, and organize translation messages from a single dashboard. Ideal for Symfony apps that need a lightweight translation admin UI. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | NOASSERTION | — | |
| gettext/translator | 0.81 | Lightweight PHP translation layer for gettext/gettext. Use Translator to load PHP array translations without the native gettext extension, or GettextTranslator to leverage the extension with the same API. Includes global helper functions for template-friendly __(). | 12 | 14 | 5 | 257K | 0 | 15.5 | 61.5 | MIT | 4 months ago | |
| hardchor/expose-translation-bundle | 0.81 | A small Symfony bundle that exposes your application's translation catalogs—useful for making message strings available to frontend JavaScript or external clients. Lightly adopted, so review the source for supported formats, routes, and integration details before relying on it in production. | 1 | 1 | 0 | 313 | 0 | 0.0 | 30.4 | — | — | |
| 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,630 | 1,644 | 355 | 537K | 12 | 23.7 | 40.3 | — | 8 years ago |
How can I help you explore Laravel packages today?