title: Laravel: how do I pass obj std class to my view and call it and the difference with passing a simple array?
body: <p>I would like to ask on how will I display this type of array in laravel blade view? </p>
  
  <pre><code>Array(
  [0] =&gt; stdClass Object
      (
          [id] =&gt; 2
          [email] =&gt; email@email.com
          [username] =&gt; dodie
          [firstname] =&gt; Jhon
          [lastname] =&gt; David
          [password] =&gt; $2y$08$x12gVo54SsUW0U1aHTHaXu7VbgHFG8So9.fd/DfczT7KOyk4J1nLS
          [location] =&gt; {'long':47.061469, 'lat': 8.321743}
          [photo] =&gt; 1.jpg
          [hometown] =&gt; England
          [Updated] =&gt; 1
          [description] =&gt; "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
          [role] =&gt; client
          [deleted_at] =&gt; 
          [created_at] =&gt; 2013-10-10 06:00:18
          [updated_at] =&gt; 2013-10-10 07:24:22
          [reviewer_id] =&gt; 1
          [company_id] =&gt; 2
          [title] =&gt; Very Bad Ass
          [content] =&gt; badass
          [review_rating] =&gt; 1
          [helpful] =&gt; 0
          [logo] =&gt; 2.jpg
          [contactperson] =&gt; Jhon Doe
          [companyname] =&gt; Hardy Contractor
          [address] =&gt; makati Philippines
          [type] =&gt; Heating and Airconditioning
          [stars] =&gt; 2
          [phone] =&gt; 554-9266
          [fax] =&gt; Hardy Contractor
          [website] =&gt; www.hardycontractors.com
      )
  </code></pre>
  
  <p>This is how I pass this In my Controller:</p>
  
  <pre><code>$data = DB::select($query); //fetching data using Query Builder
  return View::make('home')-&gt;with('users', $data);
  </code></pre>
  
  <p>this is how I call it on my blade view:</p>
  
  <pre><code>$users-&gt;website
  </code></pre>
  
  <p>Every time I call this on my blade 
  can you please enlighten me? :) I want to understand more on how I can handle this kind of problem.</p>