I have been looking for a lightweight framework to build a RESTful API in PHP. There are a number of good options out there: Slim, Epiphany, Tonic, Recess, and Frapi to name a few. They all seem like good frameworks. In the end, I chose Slim for this project for two main reasons:
- It’s very lightweight and focused on REST and nothing else.
- It supports all the HTTP methods (GET, POST, PUT, DELETE), which was a key requirement for my application.
RESTful services with jQuery, PHP and the Slim Framework | Christophe Coenraets.