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

--

--

--

I write about creating a Tech Door for developers with no experience 💻🚪 & Personal Finance | PHP Developer 🐘

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Kotlin list comparisons

Don’t make this mistake when using Leetcode for your FAANG/MAANG Coding Interviews

Create a signup form using HTML, CSS & Javascript with validations

PYTHON INITIALIZE LIST:

How to create virtual environments in Azure ML workspace in azure portal?

Docker Windows vs. Linux

Installing NGINX on CentOS 8

Fate/Origin NFT IGO(Initial Game Offering) Rules

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
Tomasz Dobrowolski

Tomasz Dobrowolski

I write about creating a Tech Door for developers with no experience 💻🚪 & Personal Finance | PHP Developer 🐘

More from Medium

Improve your application with domain-rich models 📝

A man titled “the developer” looks back at a nice girl titled “anemic entities”. His girlfriend he’s holding by hand titled “rich domain objects” looks frowned at him.

Using Docker in PHP application

Maintain statistics about your database tables using Laravel and triggers

Converting Your Test Suite to PEST