Adds templating for PHP files