{{-- The primary navigation, rendered once per request --}} @foreach( $groups as $group ) @if( $group->visible ) $group->active])> {{$group->heading}} @forelse( $group->items as $item ) {{$item->label}} @empty

No items in this group

@endforelse
@endif @endforeach
{{ $user->subscription->active ? 'Subscribed and enjoying all of the premium features that we offer' : 'Not subscribed to any plan at the moment, please consider upgrading' }}

{{collect($metrics)->map(fn ($m) => $m->value)->filter()->sum()}}

@php $summary = [ 'total' => $total, 'active' => $activeCount, ]; @endphp
 $highlight])>
function example() {
    return 42;
}