store request->all() data in variable laravel code example
Example: laravel get all request parameters
$request->input('name');
$request->input('user.name'); // fetch from user object
$request->input('name');
$request->input('user.name'); // fetch from user object