title: Laravel Eloquent - Inserting multiple objects at once
body: <p>I'm creating multiple (sometimes hundreds, sometimes thousands) Eloquent objects by reading a CSV file.</p>
  
  <p>Take this loop for instance: </p>
  
  <pre><code>$cities = [];
  while ($city = readNextCity()) {
    $cities[] = $city;
  }
  // ok how do I save all $cities without calling $city-&gt;save() on each?
  </code></pre>
  
  <p>We know that inserting multiple rows in one query is much more efficient than inserting 1 row per query.  However, is there a way to insert multiple eloquent objects at once so that they get translated to one query? (If not, I don't mind writing it, but I don't want to duplicate efforts).</p>