spatie/string
Fluent string handling for PHP. Wrap strings with string() to get a chainable object with helpers like between(), case conversion, concatenation, and array-offset access for reading/updating characters. Lightweight utility by Spatie, installable via Composer.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| alhames/string | 0.88 | 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 | 7 | 0 | 0.3 | 12.5 | MIT | 3 years ago | |
| symfony/string | 0.88 | 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 | |
| myerscode/utilities-strings | 0.88 | 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/stringy | 0.88 | 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 | 34K | 0 | 1.7 | 31.5 | MIT | — | |
| yiisoft/strings | 0.88 | 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 | |
| denisok94/helper | 0.87 | A small Laravel/PHP helper package providing convenience functions to speed up everyday development tasks. Useful for common utilities and shortcuts so you can reduce boilerplate across projects. | 1 | 1 | 0 | 2 | 0 | 13.8 | — | BSD-3-Clause | 4 months ago | |
| dontdrinkandroot/common | 0.87 | A small utility library with commonly used PHP helpers and extensions, including a PHPStan extension. Intended to provide shared building blocks for projects, with CI and code quality tooling support via SonarCloud badges. | 0 | 0 | 0 | 38 | 0 | 1.8 | 22.0 | Apache-2.0 | 2 years ago | |
| danielstjules/stringy | 0.87 | 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 | |
| twig/string-extra | 0.87 | Twig extension integrating Symfony String: add filters u (UnicodeString methods), slug (AsciiSlugger), and singular/plural (Inflector) to manipulate text, generate slugs, and handle basic inflection directly in Twig templates. | 221 | 223 | 4 | 1M | 0 | 21.6 | 61.9 | MIT | 2 weeks ago | |
| respect/stringifier | 0.87 | 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+. | 25 | 26 | 2 | 676K | 0 | 20.5 | 64.6 | MIT | 3 weeks ago | |
| php-standard-library/str | 0.86 | 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 | 29K | 0 | 21.2 | 64.8 | MIT | 2 weeks ago | |
| filament/support | 0.86 | Core support utilities for Filament packages and plugins. Provides shared helpers, contracts, traits, and internal tooling used across the Filament ecosystem to streamline development, ensure consistency, and reduce duplicated code in Laravel apps. | 23 | 23 | 10 | 2M | 0 | 0.4 | 55.3 | — | — | |
| open-southeners/extended-php | 0.86 | Extended PHP helpers for modern apps: adds convenient functions, utilities, and small enhancements that complement core PHP to reduce boilerplate and speed up everyday development. Lightweight, easy to drop into existing projects. | 0 | 0 | 0 | 82 | 0 | 15.2 | 28.4 | MIT | 7 months ago | |
| spatie/query-string | 0.85 | Manipulate URLs by building and updating query strings in PHP. Toggle parameters or values, add JSON:API-style filters and sorts, and manage pagination. Useful for generating links and keeping state in apps without manual query parsing. | 161 | 162 | 9 | 18K | 0 | 2.0 | 28.4 | MIT | 5 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 | 23 | 2 | 152K | 0 | 1.1 | 52.3 | MIT | 4 years ago | |
| spatie/url | 0.81 | Immutable URL parser/builder for PHP. Parse scheme, host, path and query, then fluently transform parts (withHost, withPath, withScheme) and manage query parameters. Supports allowed/sanitized schemes for safer URL handling. | 739 | 752 | 60 | 413K | 0 | 12.4 | 37.9 | MIT | 2 years ago |
How can I help you explore Laravel packages today?