twig/string-extra

A Twig extension for Symfony String

Fund package maintenance!
fabpot
Tidelift

Installs: 16 320 369

Dependents: 84

Suggesters: 0

Security: 0

Stars: 183

Watchers: 4

Forks: 3

v3.7.1 2023-07-29 15:34 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.