A Spotify user can follow artists, playlists, and users. The API contains methods for all of this functionality.
$api->followArtistsOrUsers('artist', 'ARTIST_ID');
$api->unfollowArtistsOrUsers('artist', 'ARTIST_ID');
$following = $api->currentUserFollows('user', 'spotify');
var_dump($following);
$api->followPlaylist('PLAYLIST_ID');
$api->unfollowPlaylist('PLAYLIST_ID');
$api->currentUserFollowsPlaylist('PLAYLIST_ID');
Please see the method reference for more available options for each method.
How can I help you explore Laravel packages today?