Introduction to Twig

A session at True North PHP Conference

Twig is a recent contender in the template language space. Twig offers a rich and powerful API, with a simple and extensible syntax. I'm one of the Twig contributors, and have recently migrated an application with over 500 templates to use Twig. In this talk I'll be covering the following points:

  • Why use twig and templating in general.
  • Twig language basics, and built-in functions.
  • Building DRY templates with blocks, layouts, and macros.
  • Extending the twig parser and grammar.
  • Twig in production.

About the speaker

This person is speaking at this event.
Mark Story

CakePHP guy, Developer at FreshBooks and sometimes designer in Toronto Ontario. bio from Twitter

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!

Short URL


Official event site


View the schedule



See something wrong?

Report an issue with this session