{"action":"opened","issue":{"url":"https://api.github.com/repos/facebook/php-webdriver/issues/231","labels_url":"https://api.github.com/repos/facebook/php-webdriver/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/facebook/php-webdriver/issues/231/comments","events_url":"https://api.github.com/repos/facebook/php-webdriver/issues/231/events","html_url":"https://github.com/facebook/php-webdriver/issues/231","id":93838237,"number":231,"title":"Composer autoloading problem","user":{"login":"theprog","id":1010244,"avatar_url":"https://avatars.githubusercontent.com/u/1010244?v=3","gravatar_id":"","url":"https://api.github.com/users/theprog","html_url":"https://github.com/theprog","followers_url":"https://api.github.com/users/theprog/followers","following_url":"https://api.github.com/users/theprog/following{/other_user}","gists_url":"https://api.github.com/users/theprog/gists{/gist_id}","starred_url":"https://api.github.com/users/theprog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theprog/subscriptions","organizations_url":"https://api.github.com/users/theprog/orgs","repos_url":"https://api.github.com/users/theprog/repos","events_url":"https://api.github.com/users/theprog/events{/privacy}","received_events_url":"https://api.github.com/users/theprog/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-08T16:49:59Z","updated_at":"2015-07-08T16:49:59Z","closed_at":null,"body":"While using following on composer.json -\r\n```\r\n{\r\n  \"require\": {\r\n    \"facebook/webdriver\": \"dev-master\"\r\n  }\r\n}\r\n```\r\n\r\nIt gets the master branch which doesn't follow psr-4 convention. So need to include that  lib/__init__.php\r\n\r\nBut if you like autoload then just use\r\n\r\n```\r\ncomposer require \"facebook/webdriver\"\r\n```\r\n\r\nIt gets the community branch which have psr-4 convention."}}