[mod:php] Modify Controllers of the API