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 a1342846c5a5
Build with phd5