RESTful php with Slim Framework example