Can you tell me what vendor/autoload.php should have in it?
My 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.
It also doesn't like some of this syntax is kosher with my version of PHP. What version is this compatible with?
I get:
Parse error: syntax error, unexpected '[' in /...]vonage-php-api-master/Vonage/Vonage.php on line 28
so that this line
$response = $this->client->get($this->apiDomain.'/appserver/rest/user/null',
['cookies' => $this->cookie, 'query' => ['htmlLogin' => $username, 'htmlPassword' => $password]]);
fails. (Along with the 'require autoload.php' that doesn't exist, etc)
Can you provide any more description on how this could be used? I just want to make the same basic call log request it uses.
Thanks.