Remote application API docs and PHP script