{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/15480","repository_url":"https://api.github.com/repos/laravel/framework","labels_url":"https://api.github.com/repos/laravel/framework/issues/15480/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/15480/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/15480/events","html_url":"https://github.com/laravel/framework/issues/15480","id":177577790,"number":15480,"title":"How to manually add composer ClassLoader in Laravel 5.2","user":{"login":"paranoid-m","id":16631661,"avatar_url":"https://avatars.githubusercontent.com/u/16631661?v=3","gravatar_id":"","url":"https://api.github.com/users/paranoid-m","html_url":"https://github.com/paranoid-m","followers_url":"https://api.github.com/users/paranoid-m/followers","following_url":"https://api.github.com/users/paranoid-m/following{/other_user}","gists_url":"https://api.github.com/users/paranoid-m/gists{/gist_id}","starred_url":"https://api.github.com/users/paranoid-m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paranoid-m/subscriptions","organizations_url":"https://api.github.com/users/paranoid-m/orgs","repos_url":"https://api.github.com/users/paranoid-m/repos","events_url":"https://api.github.com/users/paranoid-m/events{/privacy}","received_events_url":"https://api.github.com/users/paranoid-m/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-17T13:54:08Z","updated_at":"2016-09-17T19:37:47Z","closed_at":null,"body":"I want add my class to classloader by this commands\r\n\r\n```\r\n$loader = new \\Composer\\Autoload\\ClassLoader();\r\n$loader->addPsr4('test\\\\', __DIR__ . '/../..' . '/modules/test');\r\n$loader->register();\r\n```\r\nbut dose not work and no error\r\ndd($loader):\r\n\r\n```\r\nClassLoader {#470 ▼\r\n  -prefixLengthsPsr4: array:1 [▼\r\n    \"t\" => array:1 [▶]\r\n  ]\r\n  -prefixDirsPsr4: array:1 [▼\r\n    \"test\\\" => array:1 [▼\r\n      0 => \"C:\\wamp\\www\\app\\Http\\Controllers\\admin/../../modules/test\"\r\n    ]\r\n  ]\r\n  -fallbackDirsPsr4: []\r\n  -prefixesPsr0: []\r\n  -fallbackDirsPsr0: []\r\n  -useIncludePath: false\r\n  -classMap: []\r\n  -classMapAuthoritative: false\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/247802237","html_url":"https://github.com/laravel/framework/issues/15480#issuecomment-247802237","issue_url":"https://api.github.com/repos/laravel/framework/issues/15480","id":247802237,"user":{"login":"srmklive","id":839335,"avatar_url":"https://avatars.githubusercontent.com/u/839335?v=3","gravatar_id":"","url":"https://api.github.com/users/srmklive","html_url":"https://github.com/srmklive","followers_url":"https://api.github.com/users/srmklive/followers","following_url":"https://api.github.com/users/srmklive/following{/other_user}","gists_url":"https://api.github.com/users/srmklive/gists{/gist_id}","starred_url":"https://api.github.com/users/srmklive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srmklive/subscriptions","organizations_url":"https://api.github.com/users/srmklive/orgs","repos_url":"https://api.github.com/users/srmklive/repos","events_url":"https://api.github.com/users/srmklive/events{/privacy}","received_events_url":"https://api.github.com/users/srmklive/received_events","type":"User","site_admin":false},"created_at":"2016-09-17T19:37:47Z","updated_at":"2016-09-17T19:37:47Z","body":"You can do this by adding your own composer package."}}
{"actor":{"display_login":"srmklive"}}