Twig is a modern, fast, flexible, and secure templating engine for PHP.
How can I check if a string variable is null or empty, or full with space characters in Twig? (Shortest …
string twig isnulloremptyI would like to define a id attribute on my symfony2 forms. I've tried with this in my twig template: {{ …
symfony twigIn twig, is there an easy way to test the equality of 2 variables? {% if var1 = var2 %} isn't valid, {% if var1 …
php templates twigIn Twig template I check if a field has an error like this: {% if form.points.get('errors') is not …
symfony twig symfony-formsI know I can do this: app.request.get('name') ...but how do I do this? app.request.get(twig_…
symfony twigI have a controller that passes an array to a twig template, which I want to use in a script …
php javascript symfony twigI need some tips on how to work with assets in Symfony 2. For example, do we have to always perform …
symfony twig asseticI have a twig file and a yml, in which I define the variables for translation e.g.: YML File …
symfony translation twig code-translation bundlesI have several URLs that look as follows: {{domainID}}/action/{{userId}}/anotherAction And the latter URL points to: http://localhost/…
symfony twig