title: How can I access attributes using camel case?
body: <p>To be consistent over my coding style, I'd like to use <code>camelCase</code> to access attributes instead of <code>snake_case</code>. Is this possible in Laravel without modifying the core framework? If so, how?</p>
  
  <p>Example:</p>
  
  <pre><code>// Database column: first_name
  
  echo $user-&gt;first_name; // Default Laravel behavior
  echo $user-&gt;firstName; // Wanted behavior
  </code></pre>