@php $columns = [['label' => 'Id', 'column' => 'id', 'sort' => true], ['label' => 'Name', 'column' => 'flavour', 'sort' => true], ['label' => 'Actions', 'column' => 'action', 'sort' => false]]; @endphp @foreach ($flavours as $key => $item) {{-- --}} {{ $item->id }} {{ $item->flavour }} @endforeach