проход массивы от контроллера Laravel с компактным
// Its work For me
return view('site.dashboard.user_profile')
->with(compact('visits','user_details'));
Nipun
// Its work For me
return view('site.dashboard.user_profile')
->with(compact('visits','user_details'));