An php API Generator