Rewrite to use PHPTemplateProject instead of the stuff in template/.