01 - Preheat the oven to 375°F.
02 - In a medium skillet over medium heat, sauté garlic for 1 minute until fragrant. Add spinach and cook until wilted. Remove from heat.
03 - In a large mixing bowl, combine cream cheese, sour cream, mayonnaise, mozzarella, and Parmesan. Mix until smooth.
04 - Fold in chopped artichokes and cooked spinach mixture. Season with salt, pepper, and red pepper flakes if using.
05 - Transfer the mixture to a greased 1-quart baking dish. Smooth the top.
06 - Bake for 20 to 25 minutes, until bubbly and golden brown on top.
07 - Serve hot with tortilla chips or pita chips.