Twig is a modern, fast, flexible, and secure templating engine for PHP.
I'm using assets in Symfony 2.7.10 and I want to generate an image url in the controller. In the symfony config.…
symfony twig assetsI am using the following feature from propel http://www.propelorm.org/documentation/09-inheritance.html. I am also using Symfony2 …
symfony propel twig single-table-inheritanceIs it possible to set global variables in a twig file, so that I can access that variables from other …
php variables twig global templatingHello so I am using slim framework and twig, and here is my current code in php: $filename = '/path/…
php twig file-existsI'm a newbie in Symfony 2 and i would like to know how do i get current date(today's date) from …
symfony twigI am using the FOSUserBundle in my Symfony application which is really great. They have the login and register forms …
templates symfony login twig fosuserbundleI have setup custom error pages to display for certain HTTP errors in the folder: app/Resources/TwigBundle/views/Exception/ …
twig symfony-2.1How can I use an environment variable from the .env file in a custom Twig function (\Twig_SimpleFunction) in Symfony 4?
twig environment-variables symfony4 twig-extensionHow can I render a block multiple times within a view in a twig template? Currently I do have a …
symfony twig