Taming Twig—Crafting High-Quality DRY Templates

By Gert Wijnalda

We spend a great deal of time organizing our code, but our frontend templates don’t always receive the same care and attention. Using the approach outlined in this article, we can build a library of reusable components that make templating easy, more efficient, and fun!

This article was originally published in the April 2019 issue of PHP Architect magazine. To read the complete article please subscribe or purchase the complete issue.

Related Articles

Leave a comment

Use the form below to leave a comment: