In a muddler, combine basil leaves, garlic, olive oil, and salt. Grind until desired consistency.
In a medium-sized pot over medium-high heat, melt 2 tablespoons of butter.
Add finely sliced onions and sauté for 2 to 3 minutes.
Add minced garlic and allow it to brown.
Stir in orzo until all ingredients are incorporated, for about 1 to 2 minutes.
Pour in broth and cook the orzo for about 8 minutes, stirring occasionally to prevent sticking.
Add heavy cream, mushrooms, spinach, and sun-dried tomatoes. Mix well on low heat for an additional 4 minutes.
Turn off the heat and season with salt and pepper to taste.
Incorporate the pesto sauce from the muddler.
Serve hot and enjoy the creamy orzo with spinach and shiitake mushrooms.
Notes
Toast the orzo in the butter for the full 1 to 2 minutes before the broth goes in. That brief toast adds a slight nuttiness and helps the orzo hold its shape during the longer cook without going mushy.
Stir the orzo regularly while it cooks in the broth. It releases starch as it absorbs liquid and will stick and burn on the bottom of the pot if left alone.
The ricotta stirred in with the cream adds a slightly tangy, creamy richness that is different from Parmesan or heavy cream alone. Do not skip it.
Stir the pesto in off the heat rather than cooking it into the dish. Fresh basil loses its bright green color and flavor quickly over heat and added at the end it stays vivid and fresh tasting.