Category Archives: PHP

Twig: Render String as Template

In case your template is not located in a file but in the database Twig allows you to render a string:

 

Posted in Laravel, PHP, Twig | Comments Off on Twig: Render String as Template