Add garlic, onion, basil, paprika, pepper flakes, salt, pepper, dry orzo, artichokes with 2/3 of liquid from jar, and pesto to baking pan. Stir to combine. Pour 2 1/4 cups water over mixture. Top with spinach.
3 Bake, uncovered, for 20-25 minutes or until most of the water has been absorbed by pasta, but some remains.
4 Stir pasta, then sprinkle cheese over the top. Bake another 10 minutes until cheese is melted and starting to brown, and pasta has reached al dente consistency.
5 Top with fresh basil if desired.