Answer the question
In order to leave comments, you need to log in
Your own Twig filter?
You need to add your own filter for twig on laravel.
According to the official manual twig.sensiolabs.org/doc/advanced.html this is not difficult to do.
$filter = new Twig_SimpleFilter('md5', 'md5');
$twig = new Twig_Environment($loader);
$twig->addFilter($filter);
Answer the question
In order to leave comments, you need to log in
Didn't work with laravel but here they write that everything is simple: stackoverflow.com/questions/16415778/how-to-use-cu...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question