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

symfony/string

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.

View on GitHub
Deep Wiki
Context7
v8.1.9

Changelog (https://github.com/symfony/string/compare/v8.1.7...v8.1.9)

  • bug #66572 Fix wordwrap() with $cut when the string ends with the break (@SulimanAbdulrazzaq)
  • bug #66503 Fix width() of escape sequences with an intermediate or a digit final byte (@nicolas-grekas)
  • bug #66500 Fix width() of OSC sequences terminated by BEL (@nicolas-grekas)
  • bug #66490 Fix width() of skin tones on keycap and text-default bases, and of format characters (@phcorp)
  • bug #66447 Fix the width of emoji sequences and conjoining Hangul jamo (@nicolas-grekas)
  • minor #66457 Update wcswidth data with Unicode 18 (@nicolas-grekas)
v8.1.7

Changelog (https://github.com/symfony/string/compare/v8.1.2...v8.1.7)

  • bug #65995 Keep the case of a leading acronym in ByteString::camel() (@Amoifr)
  • bug #65846 Fix localeTitle() titlecasing only the first word when the locale has no transliterator (@nicolas-grekas)
  • bug #65823 Fix singularization of words ending in -ives (@dylanpulver)
v8.1.2

Changelog (https://github.com/symfony/string/compare/v8.1.0...v8.1.2)

  • bug #64992 Consistently return null for out-of-range offsets (@javiereguiluz)
  • bug #64918 Fix AsciiSlugger::getLocale() TypeError with no locale set (@eyupcanakman)
  • bug #64732 Fix splice() on multibyte strings (@eyupcanakman)
v8.0.15

Changelog (https://github.com/symfony/string/compare/v8.0.13...v8.0.15)

  • bug #64992 Consistently return null for out-of-range offsets (@javiereguiluz)
  • bug #64918 Fix AsciiSlugger::getLocale() TypeError with no locale set (@eyupcanakman)
  • bug #64732 Fix splice() on multibyte strings (@eyupcanakman)
v7.4.15

Changelog (https://github.com/symfony/string/compare/v7.4.13...v7.4.15)

  • bug #64992 Consistently return null for out-of-range offsets (@javiereguiluz)
  • bug #64918 Fix AsciiSlugger::getLocale() TypeError with no locale set (@eyupcanakman)
  • bug #64732 Fix splice() on multibyte strings (@eyupcanakman)
v6.4.43

Changelog (https://github.com/symfony/string/compare/v6.4.39...v6.4.43)

  • bug #64992 Consistently return null for out-of-range offsets (@javiereguiluz)
  • bug #64918 Fix AsciiSlugger::getLocale() TypeError with no locale set (@eyupcanakman)
  • bug #64732 Fix splice() on multibyte strings (@eyupcanakman)
v8.1.0
v8.1.0-RC1

Changelog (https://github.com/symfony/string/compare/v8.1.0-BETA2...v8.1.0-RC1)

  • bug #64345 Reject objects in typed-string properties during __unserialize (@nicolas-grekas)
v8.0.13

Changelog (https://github.com/symfony/string/compare/v8.0.11...v8.0.13)

  • bug #64345 Reject objects in typed-string properties during __unserialize (@nicolas-grekas)
v7.4.13

Changelog (https://github.com/symfony/string/compare/v7.4.11...v7.4.13)

  • bug #64345 Reject objects in typed-string properties during __unserialize (@nicolas-grekas)
v8.1.0-BETA2

Changelog (https://github.com/symfony/string/compare/v8.1.0-BETA1...v8.1.0-BETA2)

  • bug #64191 Fixed singularize traces > trace (@ruudk)
v8.0.11

Changelog (https://github.com/symfony/string/compare/v8.0.6...v8.0.11)

  • bug #64191 Fixed singularize traces > trace (@ruudk)
v7.4.11

Changelog (https://github.com/symfony/string/compare/v7.4.6...v7.4.11)

  • bug #64191 Fixed singularize traces > trace (@ruudk)
v6.4.39

Changelog (https://github.com/symfony/string/compare/v6.4.34...v6.4.39)

  • bug #64191 Fixed singularize traces > trace (@ruudk)
v8.1.0-BETA1

Changelog (https://github.com/symfony/string/compare/v8.0.13...v8.1.0-BETA1)

  • bug #64345 Reject objects in typed-string properties during __unserialize (@nicolas-grekas)
  • bug #64191 Fixed singularize traces > trace (@ruudk)
v8.0.8
v7.4.8
v8.0.6

Changelog (https://github.com/symfony/string/compare/v8.0.5...v8.0.6)

  • bug #63281 Treat emoji VS16 as wide in width calc (@fabpot)
v7.4.6

Changelog (https://github.com/symfony/string/compare/v7.4.5...v7.4.6)

  • bug #63281 Treat emoji VS16 as wide in width calc (@fabpot)
v6.4.34

Changelog (https://github.com/symfony/string/compare/v6.4.33...v6.4.34)

  • bug #63281 Treat emoji VS16 as wide in width calc (@fabpot)
v8.0.4

Changelog (https://github.com/symfony/string/compare/v8.0.3...v8.0.4)

  • bug #63056 Fix UnicodeString::startsWith()/endsWith() on strings that start/end with a zero (@nicolas-grekas)
v7.4.4

Changelog (https://github.com/symfony/string/compare/v7.4.3...v7.4.4)

  • bug #63056 Fix UnicodeString::startsWith()/endsWith() on strings that start/end with a zero (@nicolas-grekas)
v8.0.1

Changelog (https://github.com/symfony/string/compare/v8.0.0...v8.0.1)

  • bug symfony/symfony#62471 [String] Fix normalization in trimPrefix/trimSuffix (@yoeunes)
v7.3.8

Changelog (https://github.com/symfony/string/compare/v7.3.7...v7.3.8)

  • bug symfony/symfony#62471 [String] Fix normalization in trimPrefix/trimSuffix (@yoeunes)
v6.4.30

Changelog (https://github.com/symfony/string/compare/v6.4.29...v6.4.30)

  • bug symfony/symfony#62471 [String] Fix normalization in trimPrefix/trimSuffix (@yoeunes)
v7.4.0

Changelog (https://github.com/symfony/string/compare/v7.4.0-RC3...v7.4.0)

  • bug symfony/symfony#62471 [String] Fix normalization in trimPrefix/trimSuffix (@yoeunes)
v7.4.0-RC1
v8.0.0-BETA1

Changelog (https://github.com/symfony/string/compare/v7.3.4...v8.0.0-BETA1)

  • feature symfony/symfony#61424 [HttpKernel][Mime][Serializer][String][Validator] Replace __sleep/wakeup() by __(un)serialize() (@nicolas-grekas)
  • feature symfony/symfony#61423 [Mime] Deprecate implementing __sleep/wakeup() on AbstractPart implementations (@nicolas-grekas)
  • feature symfony/symfony#61418 [Validator] Deprecate implementing __sleep/wakeup() on GenericMetadata implementations (@nicolas-grekas)
  • feature symfony/symfony#61417 [String] Deprecate implementing __sleep/wakeup() on string implementations (@nicolas-grekas)
  • feature symfony/symfony#60639 Bump Symfony 8 to PHP >= 8.4 (@nicolas-grekas)
v7.4.0-BETA1

Changelog (https://github.com/symfony/string/compare/v7.3.4...v7.4.0-BETA1)

  • feature symfony/symfony#61423 [Mime] Deprecate implementing __sleep/wakeup() on AbstractPart implementations (@nicolas-grekas)
  • feature symfony/symfony#61418 [Validator] Deprecate implementing __sleep/wakeup() on GenericMetadata implementations (@nicolas-grekas)
  • feature symfony/symfony#61417 [String] Deprecate implementing __sleep/wakeup() on string implementations (@nicolas-grekas)
v7.3.4

Changelog (https://github.com/symfony/string/compare/v7.3.3...v7.3.4)

  • bug symfony/symfony#61731 [PhpUnitBridge] Fix gathering deprecation in phpt (@nicolas-grekas)
  • bug symfony/symfony#61573 [Inflector][String] Fix edge cases (@OskarStark)
v6.4.26

Changelog (https://github.com/symfony/string/compare/v6.4.25...v6.4.26)

  • bug symfony/symfony#61731 [PhpUnitBridge] Fix gathering deprecation in phpt (@nicolas-grekas)
  • bug symfony/symfony#61573 [Inflector][String] Fix edge cases (@OskarStark)
v7.3.3

Changelog (https://github.com/symfony/string/compare/v7.3.2...v7.3.3)

  • bug symfony/symfony#61503 [String] Fix nodes singular (@ruudk)
  • bug symfony/symfony#61459 [String] Fix issues singular (@ruudk)
  • bug symfony/symfony#61447 [String] specific fix to avoid 'outag' when inflecting 'outages' (@PhilETaylor)
v6.4.25

Changelog (https://github.com/symfony/string/compare/v6.4.24...v6.4.25)

  • bug symfony/symfony#61503 [String] Fix nodes singular (@ruudk)
  • bug symfony/symfony#61459 [String] Fix issues singular (@ruudk)
  • bug symfony/symfony#61447 [String] specific fix to avoid 'outag' when inflecting 'outages' (@PhilETaylor)
v7.3.2
v7.2.9
v6.4.24
v7.3.0
v7.3.0-RC1
v7.3.0-BETA1

Changelog (https://github.com/symfony/string/compare/v7.2.6...v7.3.0-BETA1)

  • feature symfony/symfony#58545 [String] Add AbstractString::pascal() method (@raffaelecarelle)
v7.2.6

Changelog (https://github.com/symfony/string/compare/v7.2.5...v7.2.6)

  • bug symfony/symfony#60236 [String] Support nexus -> nexuses pluralization (@KorvinSzanto)
v6.4.21

Changelog (https://github.com/symfony/string/compare/v6.4.20...v6.4.21)

  • bug symfony/symfony#60236 [String] Support nexus -> nexuses pluralization (@KorvinSzanto)
v7.2.0
v7.1.8

Changelog (https://github.com/symfony/string/compare/v7.1.7...v7.1.8)

  • bug symfony/symfony#58799 [String] Fix some spellings in EnglishInflector (@alexandre-daubois)
v6.4.15

Changelog (https://github.com/symfony/string/compare/v6.4.14...v6.4.15)

  • bug symfony/symfony#58799 [String] Fix some spellings in EnglishInflector (@alexandre-daubois)
v5.4.47

Changelog (https://github.com/symfony/string/compare/v5.4.46...v5.4.47)

  • bug symfony/symfony#58799 [String] Fix some spellings in EnglishInflector (@alexandre-daubois)
v7.2.0-BETA1

Changelog (https://github.com/symfony/string/compare/v7.1.6...v7.2.0-BETA1)

  • feature symfony/symfony#58385 [String] Add the AbstractString::kebab() method (@alexandre-daubois)
  • feature symfony/symfony#58228 [String] Add Spanish inflector with some rules (@dennistobar)
  • feature symfony/symfony#57243 [String] Add TruncateMode mode to truncate methods (@Korbeil)
v7.1.6
v6.4.13
v5.4.45
v7.1.5
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.
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
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle