Changez automatiquement le format de vos attributs de modèle.
Vous pouvez même créer vos propres attributs à la volée en utilisant les fonctions d’attributs !

public function getCreatedAtAttribute($value) {
return Carbon::parse($value)->format('d/m/Y');
}
public function getUpdatedAtAttribute($value) {
return Carbon::parse($value)->format('d/m/Y');
}
public function getFullNameAttribute() {
return $this->first_name . ' ' . $this->last_name;
}

<p>
{{ $user->created_at }}
{{ $user->updated_at }}
{{ $user->getFullNameAttribute }}
</p>