A template is the best way to organize and render HTML from inside your application, whether you need to render HTML from a controller or generate the contents of an email. Templates in Symfony are created with Twig: a flexible, fast, and secure template engine. Installation In applications using Symfony Flex, run the following command to install both Twig language support and its integration with
![Creating and Using Templates (Symfony Docs)](https://cdn-ak-scissors.b.st-hatena.com/image/square/b007104dc5bb21837ce4e44ef1bc12ae2175bac1/height=288;version=1;width=512/https%3A%2F%2Fsymfony.com%2Fimages%2Fopengraph%2Fsymfony.png)