Diffforhumans Laravel

$p->created_at->diffForHumans()
Core Learners