I am trying to get the composer autoloader to work for an hour now and I'm out of ideas. Looked at about 2 dozen stack overflow answers but still don't understand how it works:
I am trying to create a new ClientRepository()
from this composer package.
My php file
<?php
require __DIR__ . '/../vendor/autoload.php';
$clientRepository = new ClientRepository();
I already tried the following:
new League\OAuth2\Server\Repositories\ClientRepository();
new League\OAuth2\Server\ClientRepository();
new League\ClientRepository();
new League\Repositories\ClientRepository();
Structure of composer folders