title: Composer and Yii
body: <p>I'm using composer as my dependency manager and since I need to develop with Yii Framework I added it to my composer.json file, so it looks like this:</p>
  
  <pre><code>//other properties...
  "require": {
      //other dependencies...
      "yiisoft/yii": "dev-master"
  }
  </code></pre>
  
  <p>Composer.json is ok, Yii downloaded correctly, but there is a feature I think composer misses.
  My yii directory now is full of "rubbish", demo folders, build files bla bla that I don't really need.
  There is a way to tell composer to keep only some directory and throw away the others?</p>