Get only records created today in laravel

$posts = Post::whereDate('created_at', Carbon::today())->get();