Laravel - Blade Templates - Switch Statements

Switch statements can be constructed using the @switch, @case, @break, @default and @endswitch directives:

    
    @switch($i)
        @case(1)
            First case...
            @break
    
        @case(2)
            Second case...
            @break
    
        @default
            Default case...
    @endswitch