How to Create a Connection to Spotify’s Web API Using Symfony

Photo by David Pupaza on Unsplash

Spotify has a Web API with open endpoints which you can connect to in PHP. But in order to make calls to the API, you need to establish a connection first.

As a pre-requisite, make sure you have:

  • Composer
  • A running Symfony application
  • A registered application on Spotify

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store