Added REST implementation in PHP