Heat olive oil in a large, deep skillet or pot over medium heat.
Add the onion and mushrooms, sauté until slightly caramelized, about 5-7 minutes.
Add garlic and sauté about 30 seconds to one minute.
Stir in the orzo, vegetable broth, and heavy cream..
Bring to a simmer and cook until the orzo is al dente and until the sauce has thickened to a creamy consistency, about 10 minutes.
Stir in fresh spinach and beans , cook another 2-3 minutes until spinach is wilted and beans are heated through. Add in parmesan cheese and stir until creamy.
Season with salt and pepper to taste, adjusting the flavors according to your preference.
Once cooked, remove the skillet from heat and let it sit for a few minutes to cool slightly before serving.
Garnish with fresh herbs like parsley or fresh basil, if desired, for an extra burst of flavor and color.