liczyć w laravel '
$count = ModelName::where('id',$id)->count();
ISHUBHAM
$count = ModelName::where('id',$id)->count();
$count = Model::where('status','=','1')->count();
use Illuminate\Support\Facades\DB;
$users = DB::table('users')->count();
use Illuminate\Support\Facades\DB;
$users = DB::table('users')->count();
use Illuminate\Support\Facades\DB;
$users = DB::table('users')->count();