title: Get the id of the stored items after using Laravel insert eloquent
body: <p>I stored an array in the database using the <code>Laravel</code> insert Eloquent method as below:</p>
  <pre><code>$newTags = [
      [
          'name' =&gt; 'tag1'
      ],
      [
          'name' =&gt; 'tag2'
      ],
  ];
  
  if (sizeof($newTags) &gt; 0) {
      Tag::insert($newTags);
  }
  </code></pre>
  <p>After that, is there a way to get the <code>id</code> of the saved items?</p>