add years to carbon time laravel code example Example: carbon time ago laravel $comment->created_at->diffForHumans();