PHPackages                             binalogue/nova-spotify-auth-tool - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. binalogue/nova-spotify-auth-tool

ActivePackage[Authentication &amp; Authorization](/categories/authentication)

binalogue/nova-spotify-auth-tool
================================

A Spotify auth tool to use in your Laravel Nova apps.

07PHP

Since Mar 21Pushed 7y ago2 watchersCompare

[ Source](https://github.com/binalogue/nova-spotify-auth-tool)[ Packagist](https://packagist.org/packages/binalogue/nova-spotify-auth-tool)[ RSS](/packages/binalogue-nova-spotify-auth-tool/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Laravel Nova Spotify Auth Tool
==============================

[](#laravel-nova-spotify-auth-tool)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8e44f6bc2fd8f69ab875686fd0cc7bcef0e920749a7fdf2ea2efe4169f8d0ce4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62696e616c6f6775652f6e6f76612d73706f746966792d617574682d746f6f6c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/binalogue/nova-spotify-auth-tool)[![Build Status](https://camo.githubusercontent.com/7ee1837b119939b0c1c9b0ebf36d629362b170a8642f9256eececd60afceb384/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f62696e616c6f6775652f6e6f76612d73706f746966792d617574682d746f6f6c2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/binalogue/nova-spotify-auth-tool)[![Quality Score](https://camo.githubusercontent.com/ab206208b96973f8573a44e788e4f05ed742bd4b674edbb75a0d97b08e009701/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f62696e616c6f6775652f6e6f76612d73706f746966792d617574682d746f6f6c2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/binalogue/nova-spotify-auth-tool)[![Total Downloads](https://camo.githubusercontent.com/210a971d0705e1a4fbb426c878f26be88c55b8db35c7218ec000b32bc5f2d3dd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f62696e616c6f6775652f6e6f76612d73706f746966792d617574682d746f6f6c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/binalogue/nova-spotify-auth-tool)

This [Nova](https://nova.laravel.com/) tool adds a Spotify auth section to the Nova Sidebar. Under the hood it uses the [mgoigfer/laravel-spotify-wrapper](https://github.com/mgoigfer/laravel-spotify-wrapper) package.

You can authenticate yourself through Spotify API and store a refresh token to your database.

[![Laravel Nova Spotify Auth Tool](./docs/screenshot.png)](./docs/screenshot.png)

Installation
------------

[](#installation)

1. You must install [mgoigfer/laravel-spotify-wrapper](https://github.com/mgoigfer/laravel-spotify-wrapper) into your Laravel app.
2. You can install this package via [Composer](https://getcomposer.org/):

```
composer require binalogue/nova-spotify-auth-tool
```

3. Register the tool in `app/Providers/NovaServiceProvider`:

```
public function tools()
{
    return [
        new \Binalogue\SpotifyAuthTool\SpotifyAuthTool,
    ];
}
```

4. Publish and run the application migrations:

```
php artisan vendor:publish --provider="Binalogue\SpotifyAuthTool\SpotifyAuthToolServiceProvider"

php artisan migrate
```

5. Register the following redirect URI in your [Spotify app](https://developer.spotify.com):

```
/nova-vendor/nova-spotify-auth-tool/auth

```

Usage
-----

[](#usage)

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();
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Mikel Goig](https://github.com/mgoigfer)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a422aeabf4677b141d6e3918ecdabc73d931290f0697c626bb73708538f0e56b?d=identicon)[binalogue](/maintainers/binalogue)

---

Top Contributors

[![mikelgoig](https://avatars.githubusercontent.com/u/8067861?v=4)](https://github.com/mikelgoig "mikelgoig (2 commits)")

---

Tags

laravelnovapackagespotify

### Embed Badge

![Health badge](/badges/binalogue-nova-spotify-auth-tool/health.svg)

```
[![Health](https://phpackages.com/badges/binalogue-nova-spotify-auth-tool/health.svg)](https://phpackages.com/packages/binalogue-nova-spotify-auth-tool)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M117](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
