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 (count($records) === 1)
2 I have one record!
3@elseif (count($records) > 1)
4 I have multiple records!
5@else
6 I don't have any records!
7@endif
1@if ($dummy == 1) we have 1 record@elseif ($dummy ==10) we have 10 record@else No record found.@endif