mpstenson/laravel-advanced-string
Extends Laravel's Str with a richer set of chainable string helpers—advanced case conversion, truncation, pattern checks, and more—so you can write cleaner, more expressive string manipulation code without building custom utilities.
Str/Stringable offers (truncation/teaser formatting, initials/acronyms, masking, slug/pattern transformations), this package is a candidate to satisfy that need without writing and maintaining custom string utilities in-house.Adopt when most of the following hold:
Str/Stringable, and you would otherwise build them.Look elsewhere or defer when:
Str::limit, Str::slug, Str::studly, or similar, don't add a dependency.For executives (one paragraph): A small, focused PHP package gives our Laravel applications advanced text-handling capabilities we'd otherwise have to build and maintain ourselves. The new 1.1.1 release is a compatibility and maintenance release—most importantly it adds Laravel 12 support and includes routine automated dependency updates. That means the tool stays usable as we move onto the current Laravel version, with no extra engineering cost and no feature risk introduced. Recommendation: keep it in our dependency portfolio and treat it as an approved option for text-handling feature work; no new budget or migration effort is implied.
For engineering leads:
composer.json update) alongside Dependabot bumps for CI tooling and the Laravel Pint action. No new features, no deprecations, no breaking changes signalled.TextFormatter class), and cover the transformations we actually use with our own tests.How can I help you explore Laravel packages today?