{"action":"created","issue":{"url":"https://api.github.com/repos/composer/composer/issues/4750","labels_url":"https://api.github.com/repos/composer/composer/issues/4750/labels{/name}","comments_url":"https://api.github.com/repos/composer/composer/issues/4750/comments","events_url":"https://api.github.com/repos/composer/composer/issues/4750/events","html_url":"https://github.com/composer/composer/issues/4750","id":124913593,"number":4750,"title":"Fail to require third party libraries","user":{"login":"yobichi","id":16325663,"avatar_url":"https://avatars.githubusercontent.com/u/16325663?v=3","gravatar_id":"","url":"https://api.github.com/users/yobichi","html_url":"https://github.com/yobichi","followers_url":"https://api.github.com/users/yobichi/followers","following_url":"https://api.github.com/users/yobichi/following{/other_user}","gists_url":"https://api.github.com/users/yobichi/gists{/gist_id}","starred_url":"https://api.github.com/users/yobichi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yobichi/subscriptions","organizations_url":"https://api.github.com/users/yobichi/orgs","repos_url":"https://api.github.com/users/yobichi/repos","events_url":"https://api.github.com/users/yobichi/events{/privacy}","received_events_url":"https://api.github.com/users/yobichi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-05T07:44:08Z","updated_at":"2016-01-05T15:44:02Z","closed_at":null,"body":"My php file locates at /Applications/XAMPP/xamppfiles/htdocs/test.php and I installed composer at  /usr/local/bin/composer. When I run the code, it is said that:\r\nFatal error: require(): Failed opening required '/vendor/autoload.php' (include_path='.:/Applications/XAMPP/xamppfiles/lib/php') in /Applications/XAMPP/xamppfiles/htdocs/test.php on line 3\r\n\r\nHow to fix it? Thank you in advance!"},"comment":{"url":"https://api.github.com/repos/composer/composer/issues/comments/169038761","html_url":"https://github.com/composer/composer/issues/4750#issuecomment-169038761","issue_url":"https://api.github.com/repos/composer/composer/issues/4750","id":169038761,"user":{"login":"alcohol","id":21414,"avatar_url":"https://avatars.githubusercontent.com/u/21414?v=3","gravatar_id":"","url":"https://api.github.com/users/alcohol","html_url":"https://github.com/alcohol","followers_url":"https://api.github.com/users/alcohol/followers","following_url":"https://api.github.com/users/alcohol/following{/other_user}","gists_url":"https://api.github.com/users/alcohol/gists{/gist_id}","starred_url":"https://api.github.com/users/alcohol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alcohol/subscriptions","organizations_url":"https://api.github.com/users/alcohol/orgs","repos_url":"https://api.github.com/users/alcohol/repos","events_url":"https://api.github.com/users/alcohol/events{/privacy}","received_events_url":"https://api.github.com/users/alcohol/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T15:44:02Z","updated_at":"2016-01-05T15:44:02Z","body":"Are you on OSX?\r\n\r\nIf so, just run `composer install` literally.\r\n\r\nThis is assuming you indeed installed composer at `/usr/local/bin/composer` (run `which composer` to verify) and that `/usr/local/bin` is part of your `$PATH` (run `echo $PATH` to verify)."}}