java program to generate apidocs in PHP