1@if($user->status =='active')
2 <td>{{ $user->name }}</td>
3@else
4 <td> Guest </td>
5@endif
1@if (foo)
2 // do something
3@elseif (bar)
4 // do something else
5@else
6 // do some other thing;
7@endif
1@if ($dummy == 1) we have 1 record@elseif ($dummy ==10) we have 10 record@else No record found.@endif