title: What is a Laravel collection?
body: <p>What is a Laravel collection? what is a difference between a PHP array and a Laravel collection? </p>
  
  <p>It seems collections are very similar to arrays. For example, result retrieved via the <code>get()</code> method is a collection of data. But when we want to use it as an array we must use <code>toArray()</code> method. Why?</p>