how to get current date record in laravel model code example
Example: laravel where creation is today carbon
$posts = Post::whereDate('created_at', Carbon::today())->get();
$posts = Post::whereDate('created_at', Carbon::today())->get();