@php $auths = \App\Models\Authenticate::query()->where('status' , 'requested') ->orderByDesc('created_at')->take(5)->get(); @endphp @if($auths->count() > 0)
auth
@foreach($auths as $auth) @if(!$auth->player) @continue @endif

{{ $auth->player->full_name }} requested for authenticate

{{ $auth->created_at }}

@endforeach
@endif