I’m looking forward to use Symfony2. But i dont want to use a template engine. How can I disable the default templating engine “twig” and use native php?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I would look at http://symfony.com/doc/current/cookbook/templating/PHP.html
This page explains how to use plain php instead of twig. Also to remove twig capability from your app you can also remove it from the config file