Open tallypokemap opened 7 years ago
Did You install it correctly? (vendor folder existence)
Did You load the Composer autoloader?
include __DIR__.'/vendor/autoload.php'
I cloned the git and ran composer. What about vendor folder existence?
Does it exist...? If yes check if there is a subfolder with the library inside
It was the autoloader. I added require "vendor/autoload.php"; to the php code. Thanks for the help.
Where can I find the class AbstractProvider
? It seems to provide the getAuthorizationUrl()
method.
I get this error when trying to run this.
PHP Fatal error: Uncaught Error: Class 'Discord\OAuth\Discord' not found in /var/www/html/index.php:5 Stack trace:
0 {main}
thrown in /var/www/html/index.php on line 5