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