01 - Preheat the oven to 400°F.
02 - In a large oven-safe skillet or Dutch oven, heat olive oil over medium heat. Add the onions and sauté until softened, about 3 minutes.
03 - Add the sliced mushrooms and cook until golden and most of the moisture has evaporated, about 6 minutes.
04 - Add the minced garlic and cook for 1 minute until fragrant. Stir in the drained white beans.
05 - Sprinkle in the smoked paprika, ground cumin, chili flakes, salt, and pepper. Mix well to evenly coat all ingredients.
06 - Pour in the vegetable broth and simmer for 5 minutes, allowing the flavors to meld together.
07 - Reduce heat to low. Stir in the heavy cream and cream cheese. Cook gently, stirring until the mixture is creamy and well-blended, about 3 minutes. Adjust seasoning to taste.
08 - In a small bowl, toss together the shredded cheddar, panko breadcrumbs, chopped herbs, and melted butter or oil until evenly combined.
09 - Sprinkle the cheddar herb topping evenly over the bean and mushroom mixture in the skillet.
10 - Transfer the skillet to the oven and bake for 15 minutes, or until the topping is golden and bubbling.
11 - Remove from the oven and let rest for 5 minutes before serving. Serve with crusty bread or a fresh green salad.