In a large saucepan over medium heat, melt the butter.
Add diced onions and cook until tender, about 3-4 minutes.
Add minced garlic and cook until fragrant, about 1 minute.
Stir in orzo and cook until lightly toasted, stirring constantly for 2-3 minutes.
Pour in chicken broth and bring to a boil.
Cover, reduce heat, and simmer for 10-15 minutes or until most of the broth is absorbed.
Remove from heat and stir in cheese until melted and creamy.