implement slim for php rest and have it return a get