Skip to content

Glossary: Laravel

@forelse

Also written: @empty

A Blade loop like @foreach that also has an @empty part, which shows when the list has nothing in it. The product list uses it to show "No products match."

Where the book teaches it

Related terms

BladeDirective