PHP Template Engine to work between  Backend and Frontend