How can I make this foreach show me blocks of 4 units?
<div class="item active">
@foreach($stores as $stores)
<div class="item">
<img src="/img/company/{{$stores->image}}">
</div>
@endforeach
</div
When this carousel runs, it shows a single image at a time. What I want is that it shows a good 4 images for each pass without repeating the same image 4 times.
How can I achieve it?