voku/stringy
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| voku/anti-xss | 0.87 | 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 | |
| php-standard-library/str | 0.85 | 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 | |
| alhames/string | 0.85 | A lightweight Laravel/PHP helper package providing convenient string utilities and shortcuts for common text operations such as formatting, cleaning, converting case, and working with substrings, making repetitive string handling tasks easier across your application. | 0 | 0 | 0 | 2 | 0 | 0.3 | 6.6 | MIT | 3 years ago | |
| statamic/stringy | 0.85 | Statamic Stringy adds convenient string helpers for Laravel and Statamic apps. Work with text fluently using a Stringy object and chainable methods for common transformations, casing, trimming, and formatting—great for templates and content-driven projects. | 24 | 24 | 2 | 325K | 0 | 1.1 | 55.3 | MIT | 4 years ago | |
| respect/string-formatter | 0.85 | Flexible PHP string formatting library with chainable formatters and templated placeholders. Mask, pattern, date, number, and more to transform/format values (e.g., credit cards, phones, amounts) via FormatterBuilder or PlaceholderFormatter modifiers. | 4 | 4 | 2 | 11K | 2 | 9.8 | 48.8 | ISC | 8 months ago | |
| spatie/string | 0.85 | spatie/string is a PHP package for fluent, chainable string handling. Wrap any native string with the string() helper, then chain methods like between, toUpper, and toLower, or use array-style offsets to read and modify individual characters easily. | 559 | 570 | 26 | 20K | 0 | 19.3 | 23.3 | MIT | 6 months ago | |
| lasserafn/php-string-script-language | 0.85 | 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 | |
| symfony/string | 0.85 | Symfony String offers an object-oriented API for working with text, handling bytes, UTF-8 code points, and grapheme clusters in a unified way. It provides convenient, encoding-safe methods for slicing, comparing, searching, and manipulating strings. | 1,784 | 1,792 | 19 | 32M | 0 | 44.4 | 65.0 | MIT | 3 days ago | |
| respect/stringifier | 0.84 | Respect\Stringifier converts any PHP value into a readable string for logging, debugging, and error messages. Use the stringify() function or the HandlerStringifier object. Secure-by-default handling of strings in newer versions. Requires PHP 8.3+. | 26 | 27 | 2 | 1M | 0 | 11.6 | 60.2 | MIT | 5 months ago | |
| joomla/string | 0.84 | Joomla Framework String package for robust string handling in PHP. Installable via Composer, it provides utilities and helpers for common string operations and is maintained as part of the Joomla Framework ecosystem. | 18 | 20 | 19 | 158K | 2 | 4.7 | 55.2 | GPL-2.0 | 1 year ago | |
| lolli42/finediff | 0.84 | Create HTML diffs between two strings with fine-grained character or word comparison. Outputs / markup, escapes HTML entities, supports multibyte strings, and exposes internal opcodes for diff processing. PHP 8.2+ in v1.1. | 13 | 13 | 3 | 489K | 0 | 3.3 | 55.6 | MIT | 1 year ago | |
| voku/portable-utf8 | 0.84 | 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 | — | |
| hyperf/stringable | 0.84 | A fluent, object-oriented string helper for Hyperf. Wrap any string in Stringable and chain Laravel-style, multibyte-safe methods such as append, camel, slug, contains, replace, and when for cleaner, more readable text handling in your Hyperf applications. | 0 | 0 | 0 | 44K | 0 | 27.7 | 64.1 | MIT | 1 month ago | |
| florianwolters/component-core-stringutils | 0.84 | StringUtils is a lightweight PHP component providing static string helper methods for everyday tasks such as emptiness checks, trimming, case conversion, and substring handling, with predictable behavior and easy integration into any PHP project. | 5 | 5 | 5 | 1K | 0 | 0.2 | 30.9 | LGPL-3.0 | — | |
| voku/portable-ascii | 0.84 | 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. | 580 | 580 | 51 | 13M | 22 | 12.1 | 65.7 | MIT | — | |
| voku/arrayy | 0.84 | — | 489 | 492 | 33 | 99K | 3 | 4.4 | 33.3 | MIT | — | |
| dragon-code/pretty-array | 0.84 | Framework-agnostic PHP utility to export arrays into a readable, pretty PHP representation. Preserves numeric keys correctly (unlike symfony/var-exporter), making it ideal for generated config/translation files and other array dumps you want to commit or inspect. | 17 | 17 | 1 | 1M | 0 | 4.3 | 39.0 | MIT | 1 year ago | |
| webignition/disallowed-character-terminated-string | 0.84 | — | 5 | 5 | 0 | 35K | 0 | 0.4 | 52.0 | MIT | 6 years ago | |
| danielstjules/sliceable-stringy | 0.84 | Stringy is a PHP string manipulation library with full multibyte support, offering a fluent API for camelCase, snake_case, slugs, truncation, and more. The sliceable variant adds JavaScript-style string slicing. | 47 | 47 | 2 | 11 | 0 | 0.4 | 1.2 | MIT | 12 years ago | |
| paquettg/string-encode | 0.83 | 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 | — |
How can I help you explore Laravel packages today?