title: Create slug with id in Laravel
body: <p>I would like to create a slug with the element ID, i have try with:</p>
  
  <pre><code>$article-&gt;slug = $article-&gt;id.'-'.Str::slug($article-&gt;name, '-');
  </code></pre>
  
  <p>But instead of returning me:</p>
  
  <blockquote>
    <p>247-Hello-World</p>
  </blockquote>
  
  <p>It saves me:</p>
  
  <blockquote>
    <p>-Hello-World</p>
  </blockquote>
  
  <p>It's just a post of a new article, Example, if the previous article was ID 246, This article becomes 247-Slug-a-b-c. How do I pick up the ID that this article will have? </p>