{"action":"created","issue":{"url":"https://api.github.com/repos/previewict/vonage-php-api/issues/1","repository_url":"https://api.github.com/repos/previewict/vonage-php-api","labels_url":"https://api.github.com/repos/previewict/vonage-php-api/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/previewict/vonage-php-api/issues/1/comments","events_url":"https://api.github.com/repos/previewict/vonage-php-api/issues/1/events","html_url":"https://github.com/previewict/vonage-php-api/issues/1","id":131169242,"number":1,"title":"required files","user":{"login":"juliemoffat","id":17054410,"avatar_url":"https://avatars.githubusercontent.com/u/17054410?v=3","gravatar_id":"","url":"https://api.github.com/users/juliemoffat","html_url":"https://github.com/juliemoffat","followers_url":"https://api.github.com/users/juliemoffat/followers","following_url":"https://api.github.com/users/juliemoffat/following{/other_user}","gists_url":"https://api.github.com/users/juliemoffat/gists{/gist_id}","starred_url":"https://api.github.com/users/juliemoffat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliemoffat/subscriptions","organizations_url":"https://api.github.com/users/juliemoffat/orgs","repos_url":"https://api.github.com/users/juliemoffat/repos","events_url":"https://api.github.com/users/juliemoffat/events{/privacy}","received_events_url":"https://api.github.com/users/juliemoffat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-03T22:06:32Z","updated_at":"2016-02-03T22:40:02Z","closed_at":null,"body":"Can you tell me what vendor/autoload.php should have in it?\r\n\r\nMy php version throws errors when trying to run index.php and include Vonage.php.  Where does GuzzleHttp\\Client come from?  Where is it defined so that I may 'use' it.\r\nIt also doesn't like some of this syntax is kosher with my version of PHP.  What version is this compatible with?\r\nI get:\r\nParse error:  syntax error, unexpected '[' in /...]vonage-php-api-master/Vonage/Vonage.php on line 28\r\n\r\nso that this line\r\n$response = $this->client->get($this->apiDomain.'/appserver/rest/user/null',  \r\n\t\t['cookies' => $this->cookie, 'query' => ['htmlLogin' => $username, 'htmlPassword' => $password]]);\r\nfails. (Along with the 'require autoload.php' that doesn't exist, etc)\r\nCan you provide any more description on how this could be used?  I just want to make the same basic call log request it uses.  \r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/previewict/vonage-php-api/issues/comments/179507880","html_url":"https://github.com/previewict/vonage-php-api/issues/1#issuecomment-179507880","issue_url":"https://api.github.com/repos/previewict/vonage-php-api/issues/1","id":179507880,"user":{"login":"shahariaazam","id":1095008,"avatar_url":"https://avatars.githubusercontent.com/u/1095008?v=3","gravatar_id":"","url":"https://api.github.com/users/shahariaazam","html_url":"https://github.com/shahariaazam","followers_url":"https://api.github.com/users/shahariaazam/followers","following_url":"https://api.github.com/users/shahariaazam/following{/other_user}","gists_url":"https://api.github.com/users/shahariaazam/gists{/gist_id}","starred_url":"https://api.github.com/users/shahariaazam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahariaazam/subscriptions","organizations_url":"https://api.github.com/users/shahariaazam/orgs","repos_url":"https://api.github.com/users/shahariaazam/repos","events_url":"https://api.github.com/users/shahariaazam/events{/privacy}","received_events_url":"https://api.github.com/users/shahariaazam/received_events","type":"User","site_admin":false},"created_at":"2016-02-03T22:40:02Z","updated_at":"2016-02-03T22:40:02Z","body":"Hello @juliemoffat,\r\nTo install all the necessary dependency libraries like Guzzle and other, you have to run `composer install`. All the dependencies are coming via Composer. After when you will install dependencies via composer. Then in your application root, all dependencies will be saved on **vendor** directory with a PHP autoloader file that is called **vendor/autoload.php**.\r\n\r\nYou must have to install all the dependencies to run this library. Most of the answers you will get after that.\r\n\r\nThanks,\r\nShaharia"}}