conditional laravel blade @if(reqeust()->is() code example
Example: use if in laravel blade
@if($user->status =='active')
<td>{{ $user->name }}</td>
@else
<td> Guest </td>
@endif
@if($user->status =='active')
<td>{{ $user->name }}</td>
@else
<td> Guest </td>
@endif