laravel get count based on created_at code example
Example 1: get count laravel
$count = Model::where('status','=','1')->count();
Example 2: laravel select count
$count = DB::table('category_issue')->count();
$count = Model::where('status','=','1')->count();
$count = DB::table('category_issue')->count();