NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #10 most downloaded on Packagist
Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way
Latest stable
v8.1.10
Last release 1 months ago
23 Oct 2026
Ships fairly regularly
a new release about every 6 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
226 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
Changelog ( v8.1.10...v8.2.0-BETA1 )
Changelog (v8.1.10...v8.2.0-BETA1)
UnicodeString trim methods and endsWith() work on grapheme clusters (@nicolas-grekas)bug #67361 Fix hyphenated locales in AsciiSlugger ( @malekkadri )
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Changelog (v8.1.9...v8.1.10)
[SECURITY] Security release
bug #66572 Fix wordwrap() with $cut when the string ends with the break ( @SulimanAbdulrazzaq )
Changelog (v8.1.7...v8.1.9)
bug #65995 Keep the case of a leading acronym in ByteString::camel() ( @Amoifr )
Changelog (v8.1.2...v8.1.7)
bug #64992 Consistently return null for out-of-range offsets (@javiereguiluz)
Changelog (https://github.com/symfony/string/compare/v8.1.0...v8.1.2)
Changelog (https://github.com/symfony/string/compare/v8.1.0-RC1...v8.1.0) * no significant changes
Changelog (https://github.com/symfony/string/compare/v8.1.0-RC1...v8.1.0)
bug #64345 Reject objects in typed-string properties during __unserialize (@nicolas-grekas)
Changelog (https://github.com/symfony/string/compare/v8.1.0-BETA2...v8.1.0-RC1)
bug #64191 Fixed singularize traces > trace (@ruudk)
Changelog (https://github.com/symfony/string/compare/v8.1.0-BETA1...v8.1.0-BETA2)
traces > trace (@ruudk)bug #64345 Reject objects in typed-string properties during __unserialize (@nicolas-grekas)
Changelog (https://github.com/symfony/string/compare/v8.0.13...v8.1.0-BETA1)
traces > trace (@ruudk)bug #64992 Consistently return null for out-of-range offsets (@javiereguiluz)
Changelog (https://github.com/symfony/string/compare/v8.0.13...v8.0.15)
bug #64345 Reject objects in typed-string properties during __unserialize (@nicolas-grekas)
Changelog (https://github.com/symfony/string/compare/v8.0.11...v8.0.13)
bug #64191 Fixed singularize traces > trace (@ruudk)
Changelog (https://github.com/symfony/string/compare/v8.0.6...v8.0.11)
traces > trace (@ruudk)Changelog (https://github.com/symfony/string/compare/v8.0.7...v8.0.8) * no significant changes
Changelog (https://github.com/symfony/string/compare/v8.0.7...v8.0.8)
bug #63281 Treat emoji VS16 as wide in width calc (@fabpot)
Changelog (https://github.com/symfony/string/compare/v8.0.5...v8.0.6)
bug #63056 Fix UnicodeString::startsWith()/endsWith() on strings that start/end with a zero (@nicolas-grekas)
Changelog (https://github.com/symfony/string/compare/v8.0.3...v8.0.4)
bug symfony/symfony#62471 [String] Fix normalization in trimPrefix/trimSuffix (@yoeunes)
Changelog (https://github.com/symfony/string/compare/v8.0.0...v8.0.1)
Replace __sleep/wakeup() by __(un)serialize() on string implementations
__sleep/wakeup() by __(un)serialize() on string implementationsNothing published for this version
feature symfony/symfony#61423 [Mime] Deprecate implementing __sleep/wakeup() on AbstractPart implementations (@nicolas-grekas)
Changelog (https://github.com/symfony/string/compare/v7.3.4...v8.0.0-BETA1)
__sleep/wakeup() by __(un)serialize() (@nicolas-grekas)__sleep/wakeup() on AbstractPart implementations (@nicolas-grekas)__sleep/wakeup() on GenericMetadata implementations (@nicolas-grekas)__sleep/wakeup() on string implementations (@nicolas-grekas)Changelog ( v7.4.21...v7.4.22 )
Changelog (v7.4.21...v7.4.22)
[SECURITY] Security release
Changelog ( v7.4.19...v7.4.21 )
Changelog (v7.4.19...v7.4.21)
Changelog ( v7.4.15...v7.4.19 )
Changelog (v7.4.15...v7.4.19)
bug #64992 Consistently return null for out-of-range offsets (@javiereguiluz)
Changelog (https://github.com/symfony/string/compare/v7.4.13...v7.4.15)
bug #64345 Reject objects in typed-string properties during __unserialize (@nicolas-grekas)
Changelog (https://github.com/symfony/string/compare/v7.4.11...v7.4.13)
bug #64191 Fixed singularize traces > trace (@ruudk)
Changelog (https://github.com/symfony/string/compare/v7.4.6...v7.4.11)
traces > trace (@ruudk)Changelog (https://github.com/symfony/string/compare/v7.4.7...v7.4.8) * no significant changes
Changelog (https://github.com/symfony/string/compare/v7.4.7...v7.4.8)
bug #63281 Treat emoji VS16 as wide in width calc (@fabpot)
Changelog (https://github.com/symfony/string/compare/v7.4.5...v7.4.6)
bug #63056 Fix UnicodeString::startsWith()/endsWith() on strings that start/end with a zero (@nicolas-grekas)
Changelog (https://github.com/symfony/string/compare/v7.4.3...v7.4.4)
bug symfony/symfony#62471 [String] Fix normalization in trimPrefix/trimSuffix (@yoeunes)
Changelog (https://github.com/symfony/string/compare/v7.4.0-RC3...v7.4.0)
__sleep/wakeup() on string implementationsChangelog (https://github.com/symfony/string/compare/v7.4.0-BETA2...v7.4.0-RC1) * no significant changes
Changelog (https://github.com/symfony/string/compare/v7.4.0-BETA2...v7.4.0-RC1)
feature symfony/symfony#61423 [Mime] Deprecate implementing __sleep/wakeup() on AbstractPart implementations (@nicolas-grekas)
Changelog (https://github.com/symfony/string/compare/v7.3.4...v7.4.0-BETA1)
__sleep/wakeup() on AbstractPart implementations (@nicolas-grekas)__sleep/wakeup() on GenericMetadata implementations (@nicolas-grekas)__sleep/wakeup() on string implementations (@nicolas-grekas)bug symfony/symfony#62471 [String] Fix normalization in trimPrefix/trimSuffix (@yoeunes)
Changelog (https://github.com/symfony/string/compare/v7.3.7...v7.3.8)
bug symfony/symfony#61731 [PhpUnitBridge] Fix gathering deprecation in phpt (@nicolas-grekas)
Changelog (https://github.com/symfony/string/compare/v7.3.3...v7.3.4)
bug symfony/symfony#61503 [String] Fix nodes singular (@ruudk)
Changelog (https://github.com/symfony/string/compare/v7.3.2...v7.3.3)
Changelog (https://github.com/symfony/string/compare/v7.3.1...v7.3.2) * no significant changes
Changelog (https://github.com/symfony/string/compare/v7.3.1...v7.3.2)
Changelog (https://github.com/symfony/string/compare/v7.3.0-RC1...v7.3.0) * no significant changes
Changelog (https://github.com/symfony/string/compare/v7.3.0-RC1...v7.3.0)
Changelog (https://github.com/symfony/string/compare/v7.3.0-BETA2...v7.3.0-RC1) * no significant changes
Changelog (https://github.com/symfony/string/compare/v7.3.0-BETA2...v7.3.0-RC1)
feature symfony/symfony#58545 [String] Add AbstractString::pascal() method (@raffaelecarelle)
Changelog (https://github.com/symfony/string/compare/v7.2.6...v7.3.0-BETA1)
AbstractString::pascal() method (@raffaelecarelle)Changelog (https://github.com/symfony/string/compare/v7.2.8...v7.2.9) * no significant changes
Changelog (https://github.com/symfony/string/compare/v7.2.8...v7.2.9)
bug symfony/symfony#60236 [String] Support nexus -> nexuses pluralization (@KorvinSzanto)
Changelog (https://github.com/symfony/string/compare/v7.2.5...v7.2.6)
Changelog (https://github.com/symfony/string/compare/v7.2.0-RC1...v7.2.0) * no significant changes
Changelog (https://github.com/symfony/string/compare/v7.2.0-RC1...v7.2.0)
TruncateMode enum to handle more truncate methodsAbstractString::kebab() methodNothing published for this version
feature symfony/symfony#58385 [String] Add the AbstractString::kebab() method (@alexandre-daubois)
Changelog (https://github.com/symfony/string/compare/v7.1.6...v7.2.0-BETA1)
AbstractString::kebab() method (@alexandre-daubois)TruncateMode mode to truncate methods (@Korbeil)bug symfony/symfony#58799 [String] Fix some spellings in EnglishInflector (@alexandre-daubois)
Changelog (https://github.com/symfony/string/compare/v7.1.7...v7.1.8)
EnglishInflector (@alexandre-daubois)Changelog (https://github.com/symfony/string/compare/v7.1.5...v7.1.6) * no significant changes
Changelog (https://github.com/symfony/string/compare/v7.1.5...v7.1.6)
Changelog (https://github.com/symfony/string/compare/v7.1.4...v7.1.5) * no significant changes
Changelog (https://github.com/symfony/string/compare/v7.1.4...v7.1.5)
bug symfony/symfony#57875 [String] Fixed Quorum plural, and Quora singular in EnglishInflector (@Dean151)
Changelog (https://github.com/symfony/string/compare/v7.1.3...v7.1.4)
le, e.g., articles (@aleho)bug symfony/symfony#57616 [String] Revert "Fixed u()->snake(), b()->snake() and s()->snake() methods" (@nicolas-grekas)
Changelog (https://github.com/symfony/string/compare/v7.1.2...v7.1.3)
bug symfony/symfony#57497 [String] Fixed u()->snake(), b()->snake() and s()->snake() methods (@arczinosek)
Changelog (https://github.com/symfony/string/compare/v7.1.1...v7.1.2)
alias case to EnglishInflector (@alexandre-daubois)bug symfony/symfony#57234 [String] Fix Inflector for 'hardware' (@podhy)
Changelog (https://github.com/symfony/string/compare/v7.1.0...v7.1.1)
Changelog (https://github.com/symfony/string/compare/v7.1.0-RC1...v7.1.0) * no significant changes
Changelog (https://github.com/symfony/string/compare/v7.1.0-RC1...v7.1.0)
localeLower(), localeUpper(), localeTitle() methods to AbstractUnicodeStringbug symfony/symfony#54888 [String] Fix folded in compat mode (@smnandre)
Changelog (https://github.com/symfony/string/compare/v7.1.0-BETA1...v7.1.0-RC1)
feature symfony/symfony#53096 [Intl] [Emoji] Move emoji data in a new component (@smnandre)
Changelog (https://github.com/symfony/string/compare/v7.0.7...v7.1.0-BETA1)
bug symfony/symfony#57616 [String] Revert "Fixed u()->snake(), b()->snake() and s()->snake() methods" (@nicolas-grekas)
Changelog (https://github.com/symfony/string/compare/v7.0.9...v7.0.10)
bug symfony/symfony#57497 [String] Fixed u()->snake(), b()->snake() and s()->snake() methods (@arczinosek)
Changelog (https://github.com/symfony/string/compare/v7.0.8...v7.0.9)
alias case to EnglishInflector (@alexandre-daubois)bug symfony/symfony#54888 [String] Fix folded in compat mode (@smnandre)
Changelog (https://github.com/symfony/string/compare/v7.0.7...v7.0.8)
Changelog (https://github.com/symfony/string/compare/v7.0.6...v7.0.7) * no significant changes
Changelog (https://github.com/symfony/string/compare/v7.0.6...v7.0.7)
bug symfony/symfony#53715 [String] Fix plural of word ending by pus (@Fan2Shrek)
Changelog (https://github.com/symfony/string/compare/v7.0.3...v7.0.4)
bug symfony/symfony#53631 [DependencyInjection] Fix loading all env vars from secrets when only a subset is needed (@nicolas-grekas)
Changelog (https://github.com/symfony/string/compare/v7.0.2...v7.0.3)
Changelog (https://github.com/symfony/string/compare/v7.0.1...v7.0.2) * no significant changes
Changelog (https://github.com/symfony/string/compare/v7.0.1...v7.0.2)
One column per quarter.