[STARTER] Slim framework complete example

In this short tutorial, I will show how to create a complete Slim framework starter application with the use of database and a service layer. The code can be found here: https://github.com/vladimirvs/slim-example 1. Installation (http://docs.slimframework.com/) Install composer in your project:

Create a composer.json file in your project root:

Install via composer: