title: How to stop PHP Composer autoload require-dev library?
body: <p>I use PHPUnit for testing and development only, I don't want my app to autoload them in production server, is it possible?</p>
  
  <pre><code>"require-dev": {
      "phpunit/phpunit": "4.2.*",
  ..
  </code></pre>
  
  <p>I see the file "autoload_classmap.php" contains lines such as..</p>
  
  <pre><code>return array(
      'File_Iterator' =&gt; $vendorDir . '/phpunit/php-file-iterator/File/Iterator.php',
      'File_Iterator_Facade' =&gt; $vendorDir . '/phpunit/php-file-iterator/File/Iterator/Facade.php',
  </code></pre>
  
  <p>Updated:</p>
  
  <p>I want a clean production env and don't want to autoload phpunit, I only need phpunit during development. So, can composer generate two autoload.php so I can include them depending on my current env?</p>