I am trying to use the cdaguerre/php-trello-api in order to interface my Symfony app with Trello. I am using key and token. I have taken the API key from https://trello.com/app-key. I have taken the token by https://trello.com/1/authorize?expiration=never&scope=read,write,account&response_type=token&name=Server%20Token&key=<api_key>
Now, I use the following way for interfacing with Trello API, according to the documentation of the cdaguerre/php-trello-api package:
$client->authenticate('apiKey', 'token', Client::AUTH_URL_CLIENT_ID);
I have an unauthenticated error. What am I missing, please?