laravel check 2 conditions code example
Example: laravel where multiple conditions on single colmn
// here, i have used two different where condition on a single column
$data = Users::where('type',1)
->where(function($query) {
return $query->whereDate('updated_at','!=', Carbon::today())
->orWhere('updated_at',null);
})
->get();