Coat medium skillet with cooing spray and sauté onion and garlic. Cook until onions are translucent. Reduce heat to med-low and mix in green chilies. Cook 1 minute. Stir in cream cheese mixture until fully melted. Remove skillet from heat.
Place all in a 2 quart casserole and stir to combine. Bake for 35 minutes and cool for 5 minutes before serving. I lightly cover with foil the first 25 minutes and then uncovered the last 10 minutes.