Download the PHP package ashbakernz/laravel-dashboard-spotify-tile without Composer
On this page you can find all versions of the php package ashbakernz/laravel-dashboard-spotify-tile. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ashbakernz/laravel-dashboard-spotify-tile
More information about ashbakernz/laravel-dashboard-spotify-tile
Files in ashbakernz/laravel-dashboard-spotify-tile
Package laravel-dashboard-spotify-tile
Short Description Displays data from spotfiy on a tile for spatie/laravel-dashboard
License MIT
Homepage https://github.com/ashbakernz/laravel-dashboard-spotify-tile
Informations about the package laravel-dashboard-spotify-tile
A tile to display infomation from Spotify
This tile displays "now playing" infomation from spotify.
This tile can be used on the Laravel Dashboard.
Installation
You can install the package via composer:
In the dashboard config file, you must add this configuration in the tiles key.
Getting SPOTIFY_CLIENT_ID
and SPOTIFY_SECRET
Sign up at https://developer.spotify.com/dashboard and register your application to obtain SPOTIFY_CLIENT_ID
and SPOTIFY_SECRET
.
Once you have setup your application please go to the spotify dashboard, select your application and click "EDIT SETTINGS" in the top right. You will then need to add the following urls based on your environments to the "Redirect URIs " section and then hit save. This will allow us to authenticate correctly in the next step.
Redirect URI example:
In your dashboard view you use the livewire:spotify-tile
component.
Once this is complete please head to the /spotify/authorize
route on your dashboard in a browser and this will allow you to authenicate your spotify account.
In app\Console\Kernel.php
you should schedule the following commands.
Setup is complete!
Bugs
If the tile is displaying incorrectly please head to the /spotify/refresh
route in a browser to refresh your spotify access token manually. (a command is already setup to do this every 30 mins via scheduler)
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Ash Baker
- Spatie for laravel-dashboard-skeleton-tile
- All Contributors
License
The MIT License (MIT). Please see License File for more information.