title: Laravel 5 global date accessor
body: <p>I watched a few Laracast lessons and now I'm building my first Laravel project. I have a few Eloquent models with timestamps for created_at and updated_at. </p>
  
  <p>For displaying the right date format Laravel has a very nice functionality: accessors. But in EVERY Eloquent model I now have 2 functions like this: </p>
  
  <pre><code>public function getUpdatedAtAttribute($value) {
      return Carbon::parse($value)-&gt;format('d-m-Y H:i:s');
  }
  public function getCreatedAtAttribute($value) {
      return Carbon::parse($value)-&gt;format('d-m-Y H:i:s');
  }
  </code></pre>
  
  <p>This way the date will be forced to show as <code>d-m-Y H:i:s</code>. The only problem is: I don't want to do this for every Model I create.. </p>
  
  <p>Is there a default Laravel way/convention I can do this globally or should I just make some kind of <code>MasterModel</code> and extend that instead of <code>Model</code>?</p>