$products= Product:: where([
['category', '=', '1'],
['name', '<>', 'ad'],
])->get();
yukarıdaki örnekte olduğu gibi bir where kullanımı bir array içinde birden çok sorguyu sormamıza olanak tanıyor. Güzel bir kullanım.
Kaynak:https://laravel.com/docs/7.x/queries#where-clauses