Generate PHP api reference