Ларавел, если синтаксис
@if (foo)
// do something
@elseif (bar)
// do something else
@else
// do some other thing;
@endif
Helpful Hawk
@if (foo)
// do something
@elseif (bar)
// do something else
@else
// do some other thing;
@endif