Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Strings Laravel Package

yiisoft/strings

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.

View on GitHub
Deep Wiki
Context7

yiisoft/strings provides a focused set of PHP 8.1+ utilities for working with strings, numeric strings, and efficient pattern/regexp matching. It’s designed for reliable multibyte handling (requires mbstring) and common text transformations used in applications and frameworks.

Use it to count words, slice/replace substrings, build slugs, pluralize words, and match values against wildcards or optimized combined regular expressions.

  • StringHelper: byte-safe length/substrings, path helpers, starts/ends checks, find/replace utilities
  • NumericHelper: helpers for numeric strings
  • Inflector: transformations like toPlural() and toSlug()
  • WildcardPattern: shell-style wildcard matching
  • CombinedRegexp / MemoizedCombinedRegexp: faster multi-regex matching with optional caching
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport