Fetch distinct value in laravel $data = DB::table('service_templates')->distinct()->get(['category']); $brands = DB::table('car_comparision')->get()->unique('brand'); Tags: code, codecourse, distinct in laravel, distinct in laravel in hindi, distinct method, distinct method in hindi laravel, distinct method in laravel, distinct method in laravel in hindi, distinct(), how to use distinct laravel method, how to used distinct method in laravel, laracasts, laravel, laravel course, laravel distinct, laravel distinct count, laravel distinct method in hindi, laravel eloquent order by, laravel for beginners, laravel for complete beginners, laravel from scratch, laravel full course, laravel full course for beginners, laravel order by, laravel order by asc, laravel order by count, laravel order by count relationship, laravel order by date, laravel order by desc, laravel order by having, laravel order by relationship, laravel order by sum, laravel orderby, laravel orderby collection, laravel orderby condition, laravel orderby example, laravel orderby multiple, laravel orderby query, laravel php, laravel php framework tutorial, laravel php framework tutorial for beginners, laravel tutorial, laravel tutorial for beginners, laravel tutorial project, learn laravel, learn laravel for beginners, php framework, php framework laravel, php framework tutorial for beginners, php tutorials, tutorials, web development, why & how to used distinct() method in laravel, why use distinct method in laravel Read more articles Previous PostLaravel file upload Next PostOrderby in laravel You Might Also Like Push notification in firebase using php/laravel March 5, 2024 Get inserted id in laravel February 4, 2024 SMS api using php laravel July 23, 2024 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment.