get all element from array in for loop laravel controller code example
Example: how to loop array in laravel
@foreach($data as $key=>$value)
{{$value->column_name}}
@endforeach
@foreach($data as $key=>$value)
{{$value->column_name}}
@endforeach