Saute the onion and garlic until tender in olive oil
Add the artichokes and sautée 5 minutes
Add in the spinach, and cook until slightly wilted
Stir in the cream cheese and shredded cheese
Stir until well combined and melted
Spoon a small amount into each phyllo cup
Bake at 350 for 20 minutes