title: Laravel - How to convert Stdclass object to Array
body: <p>I'm facing this problem when use database in Laravel. How can i convert that to Array the most simpletest?</p>
  
  <pre><code>$data = DB::table('users')-&gt;get();
  </code></pre>