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

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