DEV Community

Cover image for Twig - The Ultimate Guide to the Premier PHP Templating Language
Reuben Walker, Jr.
Reuben Walker, Jr.

Posted on

Twig - The Ultimate Guide to the Premier PHP Templating Language

Learn how to make the code for your site’s frontend simpler, cleaner, dryer, more logical, and secure with Twig.

Twig website banner

WHAT’S IN THIS ARTICLE FOR YOU?

You will discover Twig’s history and what the language is.

You will see why you should use it.

You will begin learning how to use it.

Twig is a PHP templating language that outputs variables into the HTML of views in MVC (models, views, controllers) programming. So, it contributes to the structure of a website’s frontend.

For your future reference, here’s the link to the official TWIG repository on GitHub. I will link to it at the bottom of the article as well.

Read the full article on Symfony Station.

Top comments (0)