Skip to main content

Code Examples of HTTP client

Discover how to use Laravel's HTTP client method in real-world applications. Browse 3 examples from popular open-source projects.

3 examples

spatie/spatie.be

  • 499
  • Created Oct 2020
  • Updated Jun 2026

Files in this example

  • app/Support/FreeGeoIp/FreeGeoIp.php
    • app/Models/Purchasable.php
      • app/Support/PPPApi/PPPApi.php
        • app/Console/Commands/UpdateConversionRatesCommand.php
View full example

Astrotomic/opendor.me

  • 79
  • Created May 2021
  • Updated Aug 2024

Files in this example

  • app/Console/Commands/GithubLanguages.php
View full example

LaravelDaily/Laravel-Alpine-Weather-API

  • 18
  • Created Sep 2021
  • Updated Jun 2025

Files in this example

  • app/Http/Controllers/Api/WeatherController.php
View full example