Heat a pan over medium heat. Add in the olive oil then shallots and garlic. Sauté for about 2 minutes until the shallots turn translucent. Add in mushrooms and increase the heat to medium high. Season with a sprinkle of salt and pepper. Cook for 5-7 minutes until the mushrooms are fully cooked, browned, and no longer releasing any moisture. Set the mushrooms aside.
Add the eggs, whole milk, heavy cream, ¾ teaspoon kosher salt, and ½ teaspoon of black pepper into a bowl. Whisk until everything is evenly blended.
Roll out the phyllo pastry. Lay one pastry sheet down and brush it all over with the melted butter. Repeat this process 5 more times so you have 6 buttered layers of phyllo. Set this stack aside then create another stack of 6 buttered phyllo sheets. Take one stack and cut it in half lengthwise so you have 2 long strips. Cut each strip into 4 even pieces so you have a total of 8 squares. Repeat with the remaining stack. You should have a total of 16 pastry squares.
Preheat the oven to 375˚F and lightly spray a muffin pan with cooking spray. Fit each pastry square into a muffin cup. Press against the bottom and sides of the cup so the pastry fits inside. Add a heaped tablespoon of the mushroom mixture into each pastry cup. Crumble a few pieces of goat cheese on top followed by a sprinkle of chives and gruyere.
Transfer the egg custard into a liquid measuring cup for easier pouring. Fill each muffin cup about ¾ of the way up with the egg custard. Bake for 25-30 minutes until the phyllo pastry is brown and crispy and the filling is set. Allow the quiche cups to cool in the pan for 5 minutes. If needed, run a knife around the edges of the cups to help remove them from the pan. Enjoy!