cdaguerre / php-trello-api

A simple Object Oriented wrapper for the Trello API, written in PHP5.
http://cdaguerre.github.io/php-trello-api
MIT License
255 stars 121 forks source link

Class 'Symfony \ Component \ EventDispatcher \ Event' not found #87

Open Skreiphoff opened 3 years ago

Skreiphoff commented 3 years ago

Error on request, tried to install EventDispatcher separately, but did not help. My code; `protected $client;

public function __construct()
{
    $this->client = new Client();

    $this->client->authenticate(getenv('TRELLO_API_KEY'), getenv('TRELLO_TOKEN'),Client::AUTH_URL_CLIENT_ID);
}

public function createCard(Task $task): array
{
    $this->client->api('members')->boards()->all('me');
    dd( 1);
}`
lbattaglioli2000 commented 2 years ago

I'm having the same issue. Any luck??