Twig Template Engine for PHP

Envato Tuts+
via Envato
Save (0)
ClosePlease login

No account yet? Register

Embedding HTML in your PHP is one of the worst decisions you can make. Not only is it a pain to write, it’s also a pain to maintain. If you use a fully-fledged framework like Laravel, then you don’t have to worry about how HTML is generated. But if you’re using bare-metal PHP, you should use a template engine.

In this Coffee Break Course, Envato Tuts+ instructor Jeremy McPeak will introduce you to Twig: a flexible, fast, and secure template engine for PHP. You’ll get familiar with its easy-to-learn syntax as Jeremy shows you how to inherit templates and create content blocks.

Instructor(s)

Jeremy McPeak
Envato Tuts+
via Envato
Free
English
13 minutes
Self paced
Subtitles: English