formatted php.md and template.md, parsed through aaron's commit