How I can get all get/ put/ post variables like in Slim 2 for Slim 3?
Slim 2,
$allGetVars = $app->request->get()
You can use the map() method to combine get, post & put into a single route.
$app->map(['GET', 'POST', 'PUT'], function(Request $request, Response $response, array $args)) { }
The first argument is an array of the HTTP methods that you want to match. The second parameter is the function that handles the request; pass a request, response and an array of arguments.