'Asana/php-asana installation on Symfony 4

I tested Asana/php-asana and it works well.

I have a problem when I want to use it with Symfony :

I start : composer require asana/asana

installation ok.

I add : use Asana\Client; in my controller and in a method I have : $client = Asana\Client::accessToken($ASANA_ACCESS_TOKEN);

Asana\Client appears in error highlighted on VS Code.

I did not find an installation procedure other than the one on : https://github.com/Asana/php-asana



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source