A Spotify auth tool to use in your Laravel Nova apps.
binalogue/nova-spotify-auth-tool is a Laravel package for a spotify auth tool to use in your laravel nova apps..
It currently has 0 GitHub stars and 7 downloads on Packagist.
Install it with composer require binalogue/nova-spotify-auth-tool.
Discover more Laravel packages by binalogue
or browse all Laravel packages to compare alternatives.
Last updated
This Nova tool adds a Spotify auth section to the Nova Sidebar. Under the hood it uses the mgoigfer/laravel-spotify-wrapper package.
You can authenticate yourself through Spotify API and store a refresh token to your database.

You must install mgoigfer/laravel-spotify-wrapper into your Laravel app.
You can install this package via Composer:
composer require binalogue/nova-spotify-auth-tool
app/Providers/NovaServiceProvider:public function tools()
{
return [
new \Binalogue\SpotifyAuthTool\SpotifyAuthTool,
];
}
php artisan vendor:publish --provider="Binalogue\SpotifyAuthTool\SpotifyAuthToolServiceProvider"
php artisan migrate
<APP_URL>/nova-vendor/nova-spotify-auth-tool/auth
To get the Spotify user ID and the refresh token stored in the database:
use Binalogue\SpotifyAuthTool\Facades\Spotify;
$userId = Spotify::userId();
$refreshToken = Spotify::refreshToken();
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.