symfony-string
Installation
SKILL.md
symfony/string
If the project contains
.ddev/config.yaml, prefix every shell command withddev(full mapping in thesymfonyskill'sreferences/ddev.md). Examples target Symfony 7.4, 8.0 and newer — verify the installed version before using newer features.
When to use
You need to manipulate strings safely with Unicode awareness — slugs, truncation, casing, splitting on graphemes/code points.
Replaces
- Ad-hoc
mb_*calls scattered through the code - Custom slug functions
substr/str_replacechains that break on multi-byte input