@php $user = auth()->user(); $rating = $user->rating ?? 1; $ratingClasses = [ 1 => 'one-stars', 2 => 'two-stars', 3 => 'three-stars', 4 => 'four-stars', 5 => 'five-stars', ]; $ratingTexts = config('ratingh'); @endphp
User Image

{{ $ratingTexts[$rating]['text'] }}

  • 1 Star ({{ $ratingTexts[1]['text'] }})
  • 2 Star ({{ $ratingTexts[2]['text'] }})
  • 3 Star ({{ $ratingTexts[3]['text'] }})
  • 4 Star ({{ $ratingTexts[4]['text'] }})
  • 5 Star ({{ $ratingTexts[5]['text'] }})

{{-- @dump(get_verification(), in_array(auth()->user()->request_verification,[0,2])) --}} {{-- @if (get_verification() && in_array(auth()->user()->request_verification,[0,2])) Request Verification @endif --}}
@csrf