get count in laravel query builder 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();