Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Spotify Web Api Php Laravel Package

jwilsson/spotify-web-api-php

View on GitHub
Deep Wiki
Context7

Following Artists, Playlists, and Users

A Spotify user can follow artists, playlists, and users. The API contains methods for all of this functionality.

Following an artist or user

$api->followArtistsOrUsers('artist', 'ARTIST_ID');

Unfollowing an artist or user

$api->unfollowArtistsOrUsers('artist', 'ARTIST_ID');

Checking if a user is following an artist or user

$following = $api->currentUserFollows('user', 'spotify');

var_dump($following);

Following a playlist

$api->followPlaylist('PLAYLIST_ID');

Unfollowing a playlist

$api->unfollowPlaylist('PLAYLIST_ID');

Checking if the current user is following a playlist

$api->currentUserFollowsPlaylist('PLAYLIST_ID');

Please see the method reference for more available options for each method.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings