Is there a simple and small PHP template engine? I recently wrote my own PHP framework in the template and studied it for a few days. starting with URL routing, I got the template engine and stopped. Because I have never worked on a template engine and have been using other people's frameworks. I have always been biased towards the original PHP code. I don't know if there is any template engine suitable for me? It is best to implement common functions in a class file. If there is no suitable one, is there any template engine writing tutorial? I don't need too complex functions. Is there a simple and compact PHP template engine?
I recently wrote my own PHP framework in the template and studied it for a few days. starting with URL routing, I got the template engine and stopped.
Because I have never worked on a template engine and have been using other people's frameworks.
I have always been biased towards the original PHP code. I don't know if there is any template engine suitable for me? It is best to implement common functions in a class file.
If there is no suitable template engine, there is no template engine writing tutorial. I don't need too complex features, it is best to start with the simplest.
------ Solution --------------------
Look for the DZ template class.