Yii and omposer - a simple module including a controller, model and views

Hi,

I’m new to Yii and composer. I really want to know the benefits of composer. I know the basics, but now I’d like to see it in actions.

So I believe there is a simple way to install a new “module”, that is something that includes a model, controller and views. I’d like to see its composer.json file and how it works.

Is there anything like this?

Update: precisely, I want to understand why composer is so cool. I want to install anything onto Yii framework by using composer. Google doesn’t help.