So you have come to the conclusion that, rather than having the code to update customer details and that little fix to convert the date from GMT to UTC should happen in once place rather than being copied into several pieces of code, a REST service is the answer. Perhaps you just think you should know how to create a REST service. Either way this post is for you.
In this post we will start off with a blank directory and go through installing Silex and getting it to serve a couple of simple routes. read full article