{"action":"created","issue":{"url":"https://api.github.com/repos/Aquaio/aqua-io-php/issues/2","repository_url":"https://api.github.com/repos/Aquaio/aqua-io-php","labels_url":"https://api.github.com/repos/Aquaio/aqua-io-php/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Aquaio/aqua-io-php/issues/2/comments","events_url":"https://api.github.com/repos/Aquaio/aqua-io-php/issues/2/events","html_url":"https://github.com/Aquaio/aqua-io-php/issues/2","id":140060502,"number":2,"title":"PHP Fatal error:  Class 'AquaIo\\\\Client' not found","user":{"login":"bk110w","id":6644134,"avatar_url":"https://avatars.githubusercontent.com/u/6644134?v=3","gravatar_id":"","url":"https://api.github.com/users/bk110w","html_url":"https://github.com/bk110w","followers_url":"https://api.github.com/users/bk110w/followers","following_url":"https://api.github.com/users/bk110w/following{/other_user}","gists_url":"https://api.github.com/users/bk110w/gists{/gist_id}","starred_url":"https://api.github.com/users/bk110w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bk110w/subscriptions","organizations_url":"https://api.github.com/users/bk110w/orgs","repos_url":"https://api.github.com/users/bk110w/repos","events_url":"https://api.github.com/users/bk110w/events{/privacy}","received_events_url":"https://api.github.com/users/bk110w/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-11T01:35:56Z","updated_at":"2016-03-11T14:11:09Z","closed_at":null,"body":"Hey Michael! It appears there is an issue with the default install by composer. By following the steps in the guide I kept on getting the error in the title (\"PHP Fatal error:  Class 'AquaIo\\\\Client' not found\"). The error was resolved by removing the dash in the autoload_namespaces.php file (see below). \r\n\r\n```php\r\n\r\n//This is what is created by default by composer - which throws an error\r\nreturn array(\r\n    'Guzzle\\\\Tests' => array($vendorDir . '/guzzle/guzzle/tests'),\r\n    'Guzzle' => array($vendorDir . '/guzzle/guzzle/src'),\r\n    'Aqua-io\\\\' => array($vendorDir . '/aquaio/aqua-io/lib'),\r\n);\r\n\r\n\r\n//Changing Aqua-io to AquaIo fixes the issue \r\nreturn array(\r\n    'Pimple' => array($vendorDir . '/pimple/pimple/src'),\r\n    'Guzzle\\\\Tests' => array($vendorDir . '/guzzle/guzzle/tests'),\r\n    'Guzzle' => array($vendorDir . '/guzzle/guzzle/src'),\r\n    'AquaIo\\\\' => array($vendorDir . '/aquaio/aqua-io/lib'),\r\n);\r\n```"},"comment":{"url":"https://api.github.com/repos/Aquaio/aqua-io-php/issues/comments/195380747","html_url":"https://github.com/Aquaio/aqua-io-php/issues/2#issuecomment-195380747","issue_url":"https://api.github.com/repos/Aquaio/aqua-io-php/issues/2","id":195380747,"user":{"login":"tricksunga","id":12521432,"avatar_url":"https://avatars.githubusercontent.com/u/12521432?v=3","gravatar_id":"","url":"https://api.github.com/users/tricksunga","html_url":"https://github.com/tricksunga","followers_url":"https://api.github.com/users/tricksunga/followers","following_url":"https://api.github.com/users/tricksunga/following{/other_user}","gists_url":"https://api.github.com/users/tricksunga/gists{/gist_id}","starred_url":"https://api.github.com/users/tricksunga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tricksunga/subscriptions","organizations_url":"https://api.github.com/users/tricksunga/orgs","repos_url":"https://api.github.com/users/tricksunga/repos","events_url":"https://api.github.com/users/tricksunga/events{/privacy}","received_events_url":"https://api.github.com/users/tricksunga/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T14:11:08Z","updated_at":"2016-03-11T14:11:08Z","body":"@bk110w mind if I ask what version of the package you are using on your `composer.json` file?\r\n\r\nI pushed some changes(#1) before which should've fixed the issue on namespace, but if you're still getting the error, do a `composer dumpautoload -o`. You also might want to use `\"aquaio/aqua-io\": \"dev-master\"` on your `composer.json` file. Hope this helps!"}}