DotKernel3 aims to improve the DotKernel stack in every way possible, and one of the painpoints in the previous version of DotKernel was the templating engine.
Albeit a solid and robust templating engine, it was also 10 years old, and used techniques that’s slightly outdated by now.
In DotKernel 3, we made the move to the popular Twig Templating Engine, which will allow us to take our templates to a whole new level. It can now be written as HTML code, with some extra Twig tags; It is incredibly powerful and includes features such as:
- Layouts
- Loops
- Variables
- Escaping
The templating engine in DotKernel3 gives you the familiarity of HTML with the overview and convenience of PHP.
You can read the official documentation here: Templates
Looking for PHP, Laminas or Mezzio Support?
As part of the Laminas Commercial Vendor Program, Apidemia offers expert technical support and services for:
Leave a Reply