Add REST API examples in PHP