title: Class 'Illuminate\Support\Facades\Http' not found in Laravel 7.x
body: <p>In my Laravel app and as a scheduled task, I want to make an Http request in my custom class but I get </p>
  
  <pre><code>Class 'Illuminate\Support\Facades\Http' not found {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Class 'Illuminate\\Support\\Facades\\Http' not found
  </code></pre>
  
  <p>Here is my custom class</p>
  
  <pre><code>&lt;?php
  
  namespace App\MyModels\GetData;
  use Illuminate\Support\Facades\Http;
  use Illuminate\Support\Facades\Log;
  
  class Test
  {
      public function __invoke()
      {
          Log::info("Cron executed : ");
          $response = Http::get("https://google.com");
          Log::info(print_r($response, true));
      }
  }
  </code></pre>
  
  <p>in Laravel documentation, it says :</p>
  
  <blockquote>
    <p>To make requests, you may use the get, post, put, patch, and delete methods. First, let's examine how to make a basic GET request:</p>
    
    <p>use Illuminate\Support\Facades\Http;</p>
    
    <p>$response = Http::get('<a href="http://test.com" rel="noreferrer">http://test.com</a>');</p>
  </blockquote>