how to select count in sql in laravel php code example Example: laravel select count $count = DB::table('category_issue')->count();