{"action":"opened","issue":{"url":"https://api.github.com/repos/symfony/symfony-docs/issues/5949","labels_url":"https://api.github.com/repos/symfony/symfony-docs/issues/5949/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony-docs/issues/5949/comments","events_url":"https://api.github.com/repos/symfony/symfony-docs/issues/5949/events","html_url":"https://github.com/symfony/symfony-docs/issues/5949","id":120423321,"number":5949,"title":"Installing the ClassLoader component with Composer makes installing the ClassLoader component largely irrelevant","user":{"login":"hpierce1102","id":5553825,"avatar_url":"https://avatars.githubusercontent.com/u/5553825?v=3","gravatar_id":"","url":"https://api.github.com/users/hpierce1102","html_url":"https://github.com/hpierce1102","followers_url":"https://api.github.com/users/hpierce1102/followers","following_url":"https://api.github.com/users/hpierce1102/following{/other_user}","gists_url":"https://api.github.com/users/hpierce1102/gists{/gist_id}","starred_url":"https://api.github.com/users/hpierce1102/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpierce1102/subscriptions","organizations_url":"https://api.github.com/users/hpierce1102/orgs","repos_url":"https://api.github.com/users/hpierce1102/repos","events_url":"https://api.github.com/users/hpierce1102/events{/privacy}","received_events_url":"https://api.github.com/users/hpierce1102/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-04T15:25:13Z","updated_at":"2015-12-04T15:25:13Z","closed_at":null,"body":"Installing the ClassLoader component by using Composer brings in Composer's own ClassLoader, which has significant overlap with Symfony's ClassLoader. \r\n\r\nThere's a note on [The PSR-4 Class Loader](http://symfony.com/doc/current/components/class_loader/psr4_class_loader.html) 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 the [introduction page](http://symfony.com/doc/current/components/class_loader/introduction.html).\r\n\r\nIt 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 use `require_once '/path/to/src/Symfony/Component/ClassLoader/ClassLoader.php';` instead of `require_once vendor/autoload.php`"}}