Source: juststeveking.uk

Adventures in PHP - PHP SDK Builder
I have been working with 3rd party APIs for a very long time. Each time I usually either pull in their SDK, if there is one available, or I build a wrapper around their API and work from there.

I have also built a handful of PHP SDKs for APIs that do not have SDKs in PHP, or the ones provided were somewhat sub par - or I simple wanted to do it my way.

I have recently built a new package called https://github.com/JustSteveKing/http-auth-strategies which is simple and tested way to build authentication headers for API calls.

We can then access all methods from the AbstractResource allowing us to fluently build our API calls, in a structured and clean way.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners