Added a PHP template class generator.