twig / string-extra
A Twig extension for Symfony String
v3.5.0
2022-12-27 12:23 UTC
Requires
- php: >=7.2.5
- symfony/string: ^5.0|^6.0
- symfony/translation-contracts: ^1.1|^2|^3
- twig/twig: ^2.7|^3.0
Requires (Dev)
- symfony/phpunit-bridge: ^4.4.9|^5.0.9|^6.0
This package is auto-updated.
Last update: 2023-01-01 08:46:13 UTC
README
This package is a Twig extension that provides integration with the Symfony String component.
It provides a u
filter that wraps a text in a UnicodeString
object to give access to methods of the class.
It also provides a slug
filter which is simply a wrapper for the
AsciiSlugger
's slug
method.