Twig
The flexible, fast, and securetemplate engine for PHP
lower
Found a typo or an error? Want to improve this document? Edit it.
Need support or have a technical question? Ask support on Stack Overflow.
The lower filter converts a value to lowercase:
1 2 3
{{ 'WELCOME'|lower }} {# outputs 'welcome' #}
Note
Internally, Twig uses the PHP mb_strtolower function.