date('Y-m-d H:i:s', strtotime($row['time'])), 'sport_id' => (int) $spid[0], 'provider_id' => 1, 'txodds_id' => (int) $txodds_id, 'liga_id' => $liga_id, 'home_id' => $home_id, 'away_id' => $away_id, ]); // dd($event); } Notice::note("$str1 - $count events processed", 'g'); $total += $count; } Notice::note("Total - $total events processed", 'g'); } }