Files
Twig/extra/string-extra
Fabien Potencier a8d40e3a4a Merge branch '2.x' into 3.x
* 2.x:
  Add slug filter (follow-up to PR #3386)
2021-01-29 15:39:43 +01:00
..
2021-01-29 15:39:43 +01:00

String Extension

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.