Geben Sie Benutzerdetails von Controller zur Anzeige zurück

$user = User::query()->where('id','=', $id)->first();
return view('user.profile', compact('user'));
Ill Iguana