title: Laravel renaming column database how to avoid renaming all blades
body: <p>I have the following question/problem.
  For example i have a user table and i am changing the column name to surname because i want to add lastname. Then i have to edit all my blades $user->name to $user->surname.</p>
  
  <p>Is there a way to do this once?</p>
  
  <p>Change table from</p>
  
  <pre><code>$user-&gt;name
  $user-&gt;email
  </code></pre>
  
  <p>Change table to</p>
  
  <pre><code>$user-&gt;surname
  $user-&gt;lastname
  $user-&gt;email
  </code></pre>
  
  <p>Blade:</p>
  
  <pre><code>{{$user-&gt;name}}
  to
  {{$user-&gt;surname}}
  </code></pre>