PHP code example of mgoigfer / laravel-spotify-wrapper
1. Go to this page and download the library: Download mgoigfer/laravel-spotify-wrapper library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mgoigfer / laravel-spotify-wrapper example snippets
'spotify' => [
'client_id' => env('SPOTIFY_CLIENT_ID'),
'client_secret' => env('SPOTIFY_CLIENT_SECRET'),
],
SpotifyWrapper\SpotifyWrapper::requestAccessToken()
php
$spotify = app()->make('SpotifyWrapper', [
'callback' => '/playlist',
]);