Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
Description
Installing the ClassLoader component by using Composer brings in Composer's own ClassLoader, which has significant overlap with Symfony's ClassLoader.
There's a note onThe PSR-4 Class Loader page suggesting that the loader should only be used when Composer is not available - but it looks like this is relevant to the PSR-0 and ClassMap loaders too. I think it would be more clear if this note were moved to theintroduction page.
It would also make things more clear if we tweaked the install instructions to promote$ git clone rather than using$ composer require symfony/class-loader. This would be more consistent with the documentation pages that follow that userequire_once '/path/to/src/Symfony/Component/ClassLoader/ClassLoader.php'; instead ofrequire_once vendor/autoload.php