DB::table() user and or in laravel code example Example: laravel not in query DB::table(..)->select(..)->whereNotIn('book_price', [100,200])->get();