Blade

Blade is Laravel's template engine. It offers the {{ $variable }} syntax to display with HTML escaping, directives like @if, @foreach and @include, and layout inheritance with @extends and @section. Views are compiled to PHP then cached.

Example

@foreach ($produits as $p)
  <li>{{ $p->nom }}</li>
@endforeach

Related concepts

The whole glossary