exactsports/spotify

Package for communication with Spotify
3,060
Install
composer require exactsports/spotify
Last Updated:May 9, 2025
Links: GitHub  ·  Packagist
Maintainer: edgrosvenor

Spotify for Laravel

TODO: Write up a description of what this package does.

Installation

composer require exactsports/spotify

Usage

Spotify::getUserTopItems(TopItemsRequestDto $requestDto)

Describe what this does and when / how to use it.

SpotifyHttpClient::getApiCall(string $endpoint, array $headers)

SpotifyHttpClient::postApiCall(string $endpoint, array $headers, array $bodyParams)

SpotifyHttpClient::postAccountCall(string $endpoint, array $headers, array $bodyParams)

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you've found a bug regarding security please mail security@spatie.be instead of using the issue tracker.

Postcardware

You're free to use this package, but if it makes it to your production environment we highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using.

Our address is: Spatie, Kruikstraat 22, 2018 Antwerp, Belgium.

We publish all received postcards on our company website.

Credits

The aggregate root functionality is heavily inspired by Frank De Jonge's excellent EventSauce package. A big thank you to Dries Vints for giving lots of valuable feedback while we were developing the package.

Footnotes

1 Quote taken from Event Sourcing made Simple

License

The MIT License (MIT). Please see License File for more information.

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

637,827,751 9,703
laravel/framework

The Laravel Framework.

589,172,971 34,950
laravel/tinker

Powerful REPL for the Laravel framework.

498,216,183 7,442
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

413,412,504 609
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

394,964,158 4,660