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 28 days 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 (https://github.com/symfony/string/compare/v5.3.0-BETA2...v5.3.0-BETA3) * no significant changes
Changelog (https://github.com/symfony/string/compare/v5.3.0-BETA2...v5.3.0-BETA3)
Nothing published for this version
Changelog (https://github.com/symfony/string/compare/v5.2.10...v5.2.11) * no significant changes
Changelog (https://github.com/symfony/string/compare/v5.2.10...v5.2.11)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Changelog (https://github.com/symfony/string/compare/v5.2.9...v5.2.10) * no significant changes
Changelog (https://github.com/symfony/string/compare/v5.2.9...v5.2.10)
Changelog (https://github.com/symfony/string/compare/v5.2.7...v5.2.8) * no significant changes
Changelog (https://github.com/symfony/string/compare/v5.2.7...v5.2.8)
Changelog (https://github.com/symfony/string/compare/v5.2.5...v5.2.6) * no significant changes
Changelog (https://github.com/symfony/string/compare/v5.2.5...v5.2.6)
bug #40203 Check if function exists before declaring it (Nyholm)
Changelog (https://github.com/symfony/string/compare/v5.2.3...v5.2.4)
Changelog (https://github.com/symfony/string/compare/v5.2.2...v5.2.3) * no changes
Changelog (https://github.com/symfony/string/compare/v5.2.2...v5.2.3)
bug #39795 Dont allow unserializing classes with a destructor - 5.1 (jderusse)
Changelog (https://github.com/symfony/string/compare/v5.2.1...v5.2.2)
bug #39244 Fix Notice when argument is empty string (moldman)
Changelog (https://github.com/symfony/string/compare/v5.2.0...v5.2.1)
Changelog (https://github.com/symfony/string/compare/v5.2.0-RC2...v5.2.0) * no changes
Changelog (https://github.com/symfony/string/compare/v5.2.0-RC2...v5.2.0)
Changelog (https://github.com/symfony/string/compare/v5.2.0-RC1...v5.2.0-RC2) * no changes
Changelog (https://github.com/symfony/string/compare/v5.2.0-RC1...v5.2.0-RC2)
Changelog (https://github.com/symfony/string/compare/v5.2.0-BETA3...v5.2.0-RC1) * no changes
Changelog (https://github.com/symfony/string/compare/v5.2.0-BETA3...v5.2.0-RC1)
Nothing published for this version
Nothing published for this version
Nothing published for this version
bug #39795 Dont allow unserializing classes with a destructor - 5.1 (jderusse)
Changelog (https://github.com/symfony/string/compare/v5.1.10...v5.1.11)
bug #39244 Fix Notice when argument is empty string (moldman)
Changelog (https://github.com/symfony/string/compare/v5.1.9...v5.1.10)
Changelog (https://github.com/symfony/string/compare/v5.1.8...v5.1.9) * no changes
Changelog (https://github.com/symfony/string/compare/v5.1.8...v5.1.9)
bug #38678 fix before/afterLast returning the empty string instead of the original one on non-match (nicolas-grekas)
Changelog (https://github.com/symfony/string/compare/v5.1.7...v5.1.8)
Changelog (https://github.com/symfony/string/compare/v5.1.6...v5.1.7) * no changes
Changelog (https://github.com/symfony/string/compare/v5.1.6...v5.1.7)
bug #38195 improve slugger's portability accross implementations of iconv() (nicolas-grekas)
Changelog (https://github.com/symfony/string/compare/v5.1.5...v5.1.6)
Changelog (https://github.com/symfony/string/compare/v5.1.4...v5.1.5) * no changes
Changelog (https://github.com/symfony/string/compare/v5.1.4...v5.1.5)
bug #37770 We cannot have a "provides" function in test cases (derrabus)
Changelog (https://github.com/symfony/string/compare/v5.1.3...v5.1.4)
bug #37514 throw when Alpine is used and translit fails (nicolas-grekas)
Changelog (https://github.com/symfony/string/compare/v5.1.2...v5.1.3)
Changelog (https://github.com/symfony/string/compare/v5.1.1...v5.1.2) * no changes
Changelog (https://github.com/symfony/string/compare/v5.1.1...v5.1.2)
bug #37054 Fix ellipsis of truncate when not using cut option (DuboisS)
Changelog (https://github.com/symfony/string/compare/v5.1.0...v5.1.1)
Changelog (https://github.com/symfony/string/compare/v5.1.0-RC2...v5.1.0) * no changes
Changelog (https://github.com/symfony/string/compare/v5.1.0-RC2...v5.1.0)
AbstractString::reverse() methodAbstractString::width() follow POSIX.1-2001LazyString which provides memoizing stringable objects@experimental anymores() helper method to get either an UnicodeString or ByteString instance,
depending of the input string UTF-8 compliance$cut parameter to Symfony\Component\String\AbstractString::truncate()AbstractString::containsAny()ByteString::fromRandom()Changelog (https://github.com/symfony/string/compare/v5.1.0-RC1...v5.1.0-RC2) * no changes
Changelog (https://github.com/symfony/string/compare/v5.1.0-RC1...v5.1.0-RC2)
Changelog (https://github.com/symfony/string/compare/v5.1.0-BETA1...v5.1.0-RC1) * no changes
Changelog (https://github.com/symfony/string/compare/v5.1.0-BETA1...v5.1.0-RC1)
Nothing published for this version
bug #37514 throw when Alpine is used and translit fails (nicolas-grekas)
Changelog (https://github.com/symfony/string/compare/v5.0.10...v5.0.11)
Changelog (https://github.com/symfony/string/compare/v5.0.9...v5.0.10) * no changes
Changelog (https://github.com/symfony/string/compare/v5.0.9...v5.0.10)
Changelog (https://github.com/symfony/string/compare/v5.0.8...v5.0.9) * no changes
Changelog (https://github.com/symfony/string/compare/v5.0.8...v5.0.9)
Changelog (https://github.com/symfony/string/compare/v5.0.7...v5.0.8) * no changes
Changelog (https://github.com/symfony/string/compare/v5.0.7...v5.0.8)
Changelog (https://github.com/symfony/string/compare/v5.0.6...v5.0.7) * no changes
Changelog (https://github.com/symfony/string/compare/v5.0.6...v5.0.7)
Changelog (https://github.com/symfony/string/compare/v5.0.5...v5.0.6) * no changes
Changelog (https://github.com/symfony/string/compare/v5.0.5...v5.0.6)
Changelog (https://github.com/symfony/string/compare/v5.0.4...v5.0.5) * no changes
Changelog (https://github.com/symfony/string/compare/v5.0.4...v5.0.5)
Changelog (https://github.com/symfony/string/compare/v5.0.3...v5.0.4) * no changes
Changelog (https://github.com/symfony/string/compare/v5.0.3...v5.0.4)
bug #35339 add missing encoding when calling mb_ord() (nicolas-grekas)
Changelog (https://github.com/symfony/string/compare/v5.0.2...v5.0.3)
Nothing published for this version
Nothing published for this version
added the component as experimental
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.