Not able to use third party composer library

Status
This content is read-only, or is not open for further replies.

sajal

Guest
offline
I want to use this "league/oauth2-client" library.

I have installed it via Composer.

Now when I try to use it in my controller file like this:
use League\OAuth2\Client\Provider\GenericProvider;
use League\OAuth2\Client\Provider\Exception\IdentityProviderException;

I get the error:

Error: Class 'League\OAuth2\Client\Provider\GenericProvider' not found

Any help would be greatly appreciated.

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom