Jak uruchamiać wiele siewników na raz w Laravel
for ($i = 0; $i < 10; $i++) {
DB::table('members')->insert([
'name' => Str::random(10),
'email' => Str::random(10) . '@gmail.com',
'address' => Str::random(30),
'created_at' => date("Y-m-d H:i:s"),
'updated_at' => Carbon::now(),
]);
}
kinjal suryavanshi