@php $contador = 0; @endphp @foreach ($associatedArray as $id => $componentTag) @if ($contador % 4 == 0 && $contador != 0)
@endif @php $parts = explode('@', $componentTag); $tagName = $parts[0]; // a parte antes do '@' $tagType = $parts[1]; // a parte depois do '@' @endphp
ISPT 4.0
Tag :
{{ $tagName }}
{{$tagType}}
{{ $detailsEquipment->equipmentType->equipment_type_name }}
{{ $detailsEquipment->unit->unit_name }}
{{--
--}}
@php $contador++; @endphp @endforeach