HTTP Client

Laravel includes an expressive API around the Guzzle HTTP client. This can easily be installed into Laravel Zero using the http component.

To install this component, run the following command:

php <your-app-name> app:install http


The HTTP Client adds easy to use methods for standard HTTP requests.

use Illuminate\Support\Facades\Http;

Http::post($url, $data);

Full details on using the HTTP Client is available on the main Laravel documentation.