laravel carbon human readable
snippet in php

carbon date from format

user8916

Carbon::createFromFormat('Y-m-d H:i:s', $request->date)->format('d-m-Y')

laravel carbon human readable

user6191

$comment->created_at->diffForHumans();