Weave 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

String Laravel Package

spatie/string

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.

View on GitHub
Deep Wiki
Context7
3.0.1

What's Changed

Full Changelog: https://github.com/spatie/string/compare/3.0.0...3.0.1

3.0.0
  • Require PHP 8+
  • Drop support for all PHP 7.x versions
  • Use PHP 8 syntax where possible
  • Remove "Exception" suffix from exception classnames
2.2.3
  • add support for PHP 8
2.2.2
  • fix possesive output of it
2.2.1
  • fix error when using possisive on an empty string
2.2.0

add replaceFirst

2.1.0
  • Added contains function (alias for find)
2.0.1
  • Strings now have a more strict validation on instantiation
2.0.0
  • Add PHP7 compatibility
1.9.1

Changed

  • Removed replace function & test (already provided by Underscore)
1.9.0

Added

  • Add replace function
1.8.2
  • fixed ArrayAccess offset test
1.8.1
  • Fixed underscore methods that use the string as a parameter
1.8.0
  • Add pop method
1.7.0

Stable release 1.7.0

1.6.0

Stable release 1.6.0

1.5.0

Stable release 1.5.0

1.4.0

Stable release 1.4.0

1.3.0

Stable release 1.3.0

1.2.0

Stable release 1.2.0

1.1.0

Stable version 1.1.0

1.0.0

Stable release 1.0.0

0.0.1

Expertimental release 0.0.1

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.
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment