get user from request laravel 8 code example
Example 1: how to find the name of login user in laravel
Auth::user()->name
Example 2: laravel get all request parameters
$request->input('name');
$request->input('user.name'); // fetch from user object