forech loop laravel 8 code example Example: foreach loop laravel foreach($data as $key => $value) { dd($value); }