@php $authUser = auth_user('web'); $flag=1; @endphp @if($authUser && in_array($authUser->email,$subscribers->toArray())) @php $flag=0; @endphp @endif @if($flag==1) @endif