limit(10)->get(); foreach ($owners as $owner) { factory(\App\OwnerLogisticFeeReport::class)->times(100)->create([ 'counted_date' => now()->subMonth()->startOfMonth()->toDateString(), 'owner_id' => $owner->id, ]); } } }