laravel where null or value code example Example: laravel where is null DB::table('users') ->whereNull('name') ->get();