request input all code example
Example 1: laravel get all inputs from request
$input = $request->all();
Example 2: laravel get all request parameters
$request->input('name');
$request->input('user.name'); // fetch from user object
$input = $request->all();
$request->input('name');
$request->input('user.name'); // fetch from user object