PHPackages                             kerox/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. [HTTP &amp; Networking](/categories/http)
4. /
5. kerox/spotify

ActiveLibrary[HTTP &amp; Networking](/categories/http)

kerox/spotify
=============

PHP Library to easily use Spotify API

1.0.0(7y ago)611MITPHPPHP &gt;=7.1.0CI failing

Since Jan 3Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ker0x/spotify)[ Packagist](https://packagist.org/packages/kerox/spotify)[ Docs](https://github.com/ker0x/spotify)[ RSS](/packages/kerox-spotify/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (1)Dependencies (5)Versions (3)Used By (0)

 [ ![Build](https://camo.githubusercontent.com/fcc8b10461a09b45be6e842e25104f2d5911eb440365a7c5d0e6b26c7b8c906d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6b657230782f73706f746966792f63693f7374796c653d666f722d7468652d6261646765) ](https://github.com/ker0x/spotify/actions "Build") [ ![Coverage](https://camo.githubusercontent.com/342bfac433b483e6314f0db9494ddcba2f2893304193f165f8d06176c6f75876/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f67682f6b657230782f73706f746966793f7374796c653d666f722d7468652d6261646765) ](https://app.codecov.io/gh/ker0x/spotify "Coverage") [ ![PHP Version](https://camo.githubusercontent.com/a0c355dbae93c91c6682dd585c40872fca7c4b91285b36e8d3e99d7874952963/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e312d3838393242462e7376673f7374796c653d666f722d7468652d6261646765) ](https://php.net "PHP Version") [ ![Downloads](https://camo.githubusercontent.com/79444eefb063fbb388a6a5e945c3248b66bbbe7c36be07eb07c4ebb974f9d92f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b65726f782f73706f746966792e7376673f7374796c653d666f722d7468652d6261646765) ](https://packagist.org/packages/kerox/spotify "Downloads") [ ![Latest Stable Version](https://camo.githubusercontent.com/a53f2ff7c8b67824f0b9f5ab6100df12578515e1d35ce9cedbbf8a7596cb10f9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b65726f782f73706f746966792e7376673f7374796c653d666f722d7468652d6261646765) ](https://packagist.org/packages/kerox/spotify "Latest Stable Version") [ ![License](https://camo.githubusercontent.com/b0658cef13bcd3457a726bd462868345a51619be3c0a009c2259ff27316bdeb5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6b65726f782f73706f746966792e7376673f7374796c653d666f722d7468652d6261646765) ](https://packagist.org/packages/kerox/spotify "License")

Spotify
=======

[](#spotify)

A PHP Library to easily use [Spotify API](https://developer.spotify.com/documentation/web-api/)

Warning
-------

[](#warning)

This library use [PSR-18 HTTP Client](https://www.php-fig.org/psr/psr-18/) interface, which means that **no** HTTP Client, like [Guzzle](https://github.com/guzzle/guzzle) or [httplug](https://github.com/php-http/httplug), are provided within. You will need to require them separately.

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

[](#installation)

You can install Spotify using Composer:

```
composer require kerox/spotify

```

You will then need to:

- run `composer install` to get these dependencies added to your vendor directory
- add the autoloader to your application with this line: `require('vendor/autoload.php');`

Usage
-----

[](#usage)

Please, refer to the [wiki](https://github.com/ker0x/spotify/wiki) to learn how to use this library

Features
--------

[](#features)

### API

[](#api)

- Albums
- Artists
- Audio
- Browse
- Follow
- Me
- Playlists
- Search
- Tracks
- Users

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2688d ago

### Community

Maintainers

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

---

Top Contributors

[![ker0x](https://avatars.githubusercontent.com/u/5331654?v=4)](https://github.com/ker0x "ker0x (18 commits)")

---

Tags

apiphpphp-librarypsr-18psr-7spotifyspotify-apipsr-7apispotify

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[bitrix24/b24phpsdk

An official PHP library for the Bitrix24 REST API

9230.2k4](/packages/bitrix24-b24phpsdk)[wellrested/wellrested

Simple PHP Library for RESTful APIs

4818.7k4](/packages/wellrested-wellrested)

PHPackages © 2026

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