title: Laravel str_random() or custom function?
body: <p>Is the Laravel str_random() function random enough so that I can use it for IDs?</p>
  
  <p>For example:</p>
  
  <pre><code>str_random(32);
  </code></pre>
  
  <p>This produces a random string of length 32 made up of alphanumeric characters [a-zA-z0-9] (62 characters in total).</p>
  
  <p>Which equates to 2272657884496751345355241563627544170162852933518655225856 possibilities.</p>
  
  <p>However, my question is, is this going to be good enough? Or should I consider using UUIDs or another custom function.</p>