twig/string-extra
A Twig extension for Symfony String
Maintainers
v4.0.0-alpha1
2026-01-07 15:24 UTC
Requires
- php: >=8.2
- symfony/string: ^5.4|^6.4|^7.0|^8.0
- symfony/translation-contracts: ^1.1|^2|^3
- twig/twig: ^3.13|^4.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT f9cdd5f466842ab60fa376eeae8b03231ca2fecc
- Fabien Potencier <fabien.woop@symfony.com>
This package is auto-updated.
Last update: 2026-05-30 13:51:31 UTC
README
This package is a Twig extension that provides integration with the Symfony String component. It provides the following filters:
-
u: Wraps a text in aUnicodeStringobject to give access to methods of the class. -
slug: Wraps theAsciiSlugger'sslugmethod. -
singularandplural: Wraps theInflectorsingularizeandpluralizemethods.
