Generate class mapping file in PHP, to improve classloader performance.