make an simple API with php and slim framework