Laravel 8 Blade Получите несколько дней и несколько часов назад

@php($diffInDays = \Carbon\Carbon::parse($user->created_at)->diffInDays())

@php($showDiff = \Carbon\Carbon::parse($user->created_at)->diffForHumans())

@if($diffInDays > 0)

@php($showDiff .= ', '.\Carbon\Carbon::parse($user->created_at)->addDays($diffInDays)->diffInHours().' Hours')

@endif

{{$showDiff}}
Xfantasia