take request parameters 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