This sapmple demostrate the use of skeletone and basic setup also ho w to add dependencies to slim app this demo contain PHP rest api example with the CRUD(Create ,Read, Update ,Delete ) example code hope you like this
Just download the Project
Open Db->chatter.sql import this database file to the Mysql Databse Basically it will create new database names Chatter and 4 tables in it also it inlcude all the table we are using in this example
Open src->Dependencies.php check db depency and add your credentials there.
Yaaay now the real fun begins Goto the routes.php and check out CRUD operations i have made them as simple as possible to check it
open browser and type raout path http://your ip/path to the slim app/slimapp/public/todos
in my case its http://localhost/slimapp/public/todos