PHPackages                             yiiauth/spotify - 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. yiiauth/spotify

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

yiiauth/spotify
===============

Spotify OAuth2 for yii2-authclient

219PHP

Since May 11Pushed 8y ago1 watchersCompare

[ Source](https://github.com/yiiauth/spotify)[ Packagist](https://packagist.org/packages/yiiauth/spotify)[ RSS](/packages/yiiauth-spotify/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

yiiauth/spotify
===============

[](#yiiauthspotify)

This extension adds GitLab OAuth2 supporting for [yii2-authclient](https://github.com/yiisoft/yii2-authclient).

[![Latest Stable Version](https://camo.githubusercontent.com/07dde74f63facba4425d9cba302bb0c468d6a712649bf639860765b1d6eb643b/68747470733a2f2f706f7365722e707567782e6f72672f796969617574682f73706f746966792f762f737461626c65)](https://packagist.org/packages/yiiauth/spotify)[![Total Downloads](https://camo.githubusercontent.com/57dba2ca205fc29197a8fb0324fc9fe45cc991345ec2c8e9c82e4afb9b761441/68747470733a2f2f706f7365722e707567782e6f72672f796969617574682f73706f746966792f646f776e6c6f616473)](https://packagist.org/packages/yiiauth/spotify)[![Monthly Downloads](https://camo.githubusercontent.com/2d308e58a7b7b8686105eb188e038a9e62b9ce81362d1edb648f98c8c255a98f/68747470733a2f2f706f7365722e707567782e6f72672f796969617574682f73706f746966792f642f6d6f6e74686c79)](https://packagist.org/packages/yiiauth/spotify)[![License](https://camo.githubusercontent.com/0558474dd5c40414fce77cec55126cfa05efc488e37f9237e656370932d586d7/68747470733a2f2f706f7365722e707567782e6f72672f796969617574682f73706f746966792f6c6963656e7365)](https://packagist.org/packages/yiiauth/spotify)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require yiiauth/spotify

```

or add

```
"yiiauth/spotify": "~0.1"
```

to the `require` section of your composer.json.

Usage
-----

[](#usage)

You must read the yii2-authclient [docs](https://github.com/yiisoft/yii2/blob/master/docs/guide/security-auth-clients.md)

Register your application [in Spotify](https://beta.developer.spotify.com/dashboard)

and add the Spotify client to your auth clients.

```
'components' => [
    'authClientCollection' => [
        'class' => \yii\authclient\Collection::class,
        'clients' => [
               'spotify' => [
                   'class' => \yiiauth\spotify\SpotifyClient:class,
                   'clientId' => 'client_id',
                   'clientSecret' => 'client_secret',
               ],
            // other clients
        ],
    ],
    // ...
 ]
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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/9e92b6ee31e63ba56754db82b0fe82106c4e766dd161a0fd6c59cc4acaa23bd5?d=identicon)[exileed](/maintainers/exileed)

---

Top Contributors

[![exileed](https://avatars.githubusercontent.com/u/942898?v=4)](https://github.com/exileed "exileed (1 commits)")

---

Tags

oauth2-clientspotifyspotify-oauth2yii2-authclientyii2-extension

### Embed Badge

![Health badge](/badges/yiiauth-spotify/health.svg)

```
[![Health](https://phpackages.com/badges/yiiauth-spotify/health.svg)](https://phpackages.com/packages/yiiauth-spotify)
```

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.3M17](/packages/kartik-v-yii2-password)[vitalybaev/laravel5-dkim

Laravel 5/6 package for signing outgoing messages with DKIM.

3163.1k](/packages/vitalybaev-laravel5-dkim)

PHPackages © 2026

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