01 - Preheat the oven to 350°F.
02 - In a medium bowl, beat together cream cheese, sour cream, and mayonnaise until smooth.
03 - Stir in minced garlic, chopped artichoke hearts, thawed spinach, mozzarella, and Parmesan cheeses. Season with salt, black pepper, and red pepper flakes if using. Mix thoroughly to combine.
04 - Pour the mixture into a 1-quart baking dish and spread evenly.
05 - Bake for 20 to 25 minutes until bubbling and lightly golden on top.
06 - Serve the dip warm alongside sliced baguette, tortilla chips, or vegetable sticks.