I imported an csv file and read that using Maatwebsite Excel in Laravel 4.2 If I know the column name, I can simply get the row value by doing:
Excel::load($file->getRealPath(), function($reader)) {
$data = $reader->get();
foreach ($data as $key => $row) {
echo $row->I_know_this;
});
But what if the csv file contain dynamic column and you don't know what are they?