twig/string-extra
Twig extension integrating Symfony String: add filters u (UnicodeString methods), slug (AsciiSlugger), and singular/plural (Inflector) to manipulate text, generate slugs, and handle basic inflection directly in Twig templates.
This package is a Twig extension that provides integration with the Symfony String component. It provides the following filters:
u: Wraps a text in a UnicodeString object to give access to
methods of the class.
slug: Wraps the AsciiSlugger's slug method.
singular and plural: Wraps the Inflector singularize
and pluralize methods.
How can I help you explore Laravel packages today?