Composer vs Symfony 2 autoloader
问题 I'm starting to use Composer in a project, in which I historically had all the dependencies under version control. This project currently uses the Symfony 2 autoloader. Because Composer comes with its own autoloading mechanism ( vendor/autoload.php ), that makes me wonder if I still need to use the Symfony ClassLoader. I assume that I could just use the Composer autoloader to autoload my project classes as well: $loader = require 'vendor/autoload.php'; $loader->add('MyProject', 'src'); Is