Laravel framework has recently gained a lot of popularity and because of all the good reasons. It recently launched a new major release 5.x
We quickly tried our hand at creating a RESTful API using the new a version. Did hit a few roadblocks but in the end it all turned out to be a good learning experience.
Sharing the steps to create a RESTful API with laravel.
You can download the zip file with db and other files created for this project. Once you have installed laravel, you can simply put the files in framework and this API, as described, should work for you.