Handling Errors with Third-Party APIs
Learn how to create, throw, and handle custom exceptions when making requests to third-party APIs
Jan 30, 20249 min read2.4K

Search for a command to run...
Series
In this series, I will describe various techniques for creating simple, flexible, and highly testable API integrations in Laravel using the Http facade.
Learn how to create, throw, and handle custom exceptions when making requests to third-party APIs

Using controller-like classes and Laravel-data for efficient API communication

A comprehensive guide for creating custom Data Transfer Objects (DTOs) to enhance readability, efficiency, and testability in Laravel API integrations

Building a reusable API request and client class
