Command set
{{$var}}-Output PHP variable {{$var or ' default '}-output PHP variable with default value {{{$var}}-Output escape contents {{--Comment-}}-Template comment @extends (' layout ')- Inherit template @if (condition)-if statement begins with @else-else@elseif (condition)-Else if@endif-if end @foreach ($list as $key = $val)-Fore Ach start @endforeach-foreach end @for ($i = 0; $i < $i + +)-For beginning @endfor-for end @while (condition)-while opening @endwhile-w Hile end @unless (condition)-unless opening @endunless-unless end include (file)-Introduce template @include (file, [' var ' = $val,...])-by The new variable introduces the template. @each (' file ', $list, ' item ')-Render template collection @each (' file ', $list, ' item ', ' empty ')-render a template in the collection if the template does not exist or the empty render another @yield (' Section ')-defines a chunk. @show-end definition chunk @lang (' message ')-output multi-language @choice (' message ', $count)-Output internationalized language @section (' name ')-section block Start @stop-section End (section processing ends here) @endsection-section End (removed in version 4.0) @append- Appended to the section content by the name of the @overwrite-all previous definitions are overwritten by the name of the sections, whichever is more.