laravel get request data in controller 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