gone.io/twig-extension-inflect

Trivially pluralise or singularise strings in twig.

v1.3 2021-05-16 03:53 UTC

This package is auto-updated.

Last update: 2024-11-24 07:42:06 UTC


README

Trivially pluralise or singularise strings in twig

Build Status

Usage:

    {{ variable|singularise }}

or

    {{ variable|pluralise }}

Credits

Built atop of Gone.io/inflection, which is in turn built upon the work of others.