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?
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
framework:
# ...
templating: { engines: ['php'] }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With