Use Twig as template engine
Starting from version 4.0.0, KoolReport supports other template engines rather than just its own template view file. Twig is one of the popular template engines that KoolReport supports. Twig is very famous for its characteristics Fast, Secure and Flexible. It compiles templates down to plain optimized PHP code. The overhead compared to regular PHP code was reduced to the very minimum.
The details of how to install and how to use Twig package can be found at our documentation.