using the wrapper without composer
humpataa opened this issue · 1 comments
humpataa commented
I have downloaded and unzipped the code archive.
there is a folder src which has all the wrapper's class files (I guess).
how do I use it with plain simple PHP without composer.
please advise.
thank you.
jwilsson commented
Hey!
It's really not recommended to not use Composer or at least a PSR-4 compatible autoloader. But if you really want to, including all the files present in the src folder should do the trick:
require_once 'src/SpotifyWebAPI.php';
require_once 'src/Session.php`;
And so on...
Hope this helps!