get all records with same value laravel code example
Example: how to get all the records with same ID in laravel
Product::orderBy('id','desc')->where('category_id', 1)->get();
Product::orderBy('id','desc')->where('category_id', 1)->get();