This extension provides a ViewRenderer that would allow you to use Twig view template engine.
ViewRenderer
Application Version phd-dmstr-io-5.2.0-0-g993f64c Virtual Host phd.dmstr.io Hostname ce07b0f30c0f
Build with phd5