jwilsson/spotify-web-api-php

using the wrapper without composer

humpataa opened this issue · 1 comments

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.

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!