blade show array code example
Example 1: how to print array in laravel blade
echo implode("\n",$array);
Example 2: how to print array in laravel blade
<?php dd($array); ?>
Example 3: how to print array in laravel blade
echo implode("\n",array_collapse($array));