title: Composer vs Symfony 2 autoloader
body: <p>I'm starting to use <a href="http://getcomposer.org/" rel="noreferrer">Composer</a> in a project, in which I historically had all the dependencies under version control.</p>
  
  <p>This project currently uses the <a href="http://symfony.com/doc/2.0/components/class_loader.html" rel="noreferrer">Symfony 2 autoloader</a>. Because Composer comes with its own autoloading mechanism (<code>vendor/autoload.php</code>), that makes me wonder if I still need to use the Symfony ClassLoader.</p>
  
  <p>I assume that I could just use the Composer autoloader to autoload my project classes as well:</p>
  
  <pre class="lang-php prettyprint-override"><code>$loader = require 'vendor/autoload.php';
  $loader-&gt;add('MyProject', 'src');
  </code></pre>
  
  <p>Is there any drawback in using the Composer autoloader for the whole project?</p>
  
  <p>Are there features the Symfony autoloader offers that I won't find in the Composer autoloader?</p>