Renderer for pure PHP templates