Привет. У меня есть файл excel с информацией о пассажирах под идентификатором поездки. Я хочу импортировать этот файл Excel в мою таблицу. пожалуйста, смотрите изображение ниже:

первая строка с синим цветом - это имена столбцов в моей таблице. моя проблема заключается в том, как я могу сохранить значение D2: G2 в таблице next_of_kin
с таким форматом.
[
{"name":James Lara,"mobile":12345678},
{"name":Jasmine Lara,"mobile":12345678}
]

это мой код на контроллере.
// Get excel file
$path = $request->file;
// Save the content to passenger
Excel::load($path, function ($reader) use ($request) {
$trip = Trip::where('id', $request->trip_customer_id)->first();
foreach ($reader->toArray() as $row) {
$trip->passengers()->create($row);
}
});