Saloon – A PHP package to simplify API integrations



Saloon – A PHP package to simplify API integrations

Saloon - A PHP package to simplify API integrations

In this video I show off the open source package Saloon, and explain how to install it and use it in PHP or Laravel applications to make integrations with external APIs a more painless process.

You’ll learn:
– How to install Saloon in an existing application
– What the Connector and Request classes are
– How to mock and record existing requests

Saloon documentation: https://docs.saloon.dev
GitHub repo: https://github.com/sammyjo20/saloon

– 0:00 Intro
– 0:54 Installing Saloon
– 1:35 Creating A Connector
– 3:01 Building A Request
– 4:55 Refactoring Existing Calls
– 18:38 Automatic Pagination
– 24:05 Retry Requests
– 24:51 Mocking and Recording
– 27:44 Wrapping Up

Follow me on Twitter! https://twitter.com/aschmelyun

Join my newsletter, where I send out new information about twice each month in the PHP, JavaScript, and Docker realms: https://aschmelyun.substack.com

Comments are closed.