A PHP REST implementation