Es gibt schon Smarty in Version 4.
Darauf sollte ggf. geswitcht werden:
https://www.smarty.net/download