This article was originally written by https://www.honeybadger.io/blog/authors/funkefaitholasupo/ on the https://www.honeybadger.io/blog/laravel-guzzle/. Guzzle is a PHP HTTP client that Laravel uses to send outgoing HTTP requests to communicate with external services.

A common use case is when two Laravel applications are developed, and one functions as the server while the other is the client.

Laravel wraps the Guzzle HTTP client in an expressive, basic API, allowing one application to swiftly make outgoing HTTP requests to communicate with other web apps efficiently.

For us to explore various options and use cases for Laravel's HTTP Client, we'll build a Laravel application that shows how to make requests to an external API using https://laravel.com/docs/8.x/http-client'.
Newsletter

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

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners