title: Laravel : Class 'App\Services\OvhApiHandlerClass' not found
body: <p>I'm starting Laravel and i'm trying to create an external class to use like a 'Library'.</p>
  
  <p>I've searched a lot and came up with this solution :</p>
  
  <p>I created a folder 'Services' in 'App' and made a class file like so :</p>
  
  <pre><code>App/Services/OvhApiHandlerClass.php
  </code></pre>
  
  <p>This file looks like so :</p>
  
  <pre><code>&lt;?
  
  namespace App\Services;
  
  use App\OvhBill;
  use App\OvhBillDetail;
  use Carbon\Carbon;
  use Illuminate\Support\Facades\Storage;
  use Ovh\Api;
  
  class OvhApiHandlerClass
  {
      public function ovh_get_bills(string $consumer_key, $from = null, $to = null)
      {
         // Do something
      }
  }
  </code></pre>
  
  <p>So now i want to use this class inside a controller.
  But i'm getting an error saying my class does not exist.
  Here is my Controller :</p>
  
  <pre><code>
  &lt;?php
  
  namespace App\Http\Controllers;
  
  use Illuminate\Http\Request;
  use Carbon\Carbon;
  use App\Services\OvhApiHandlerClass;
  
  class OperationsController extends Controller
  {
      public function index()
      {
          $from = new \Carbon\Carbon('first day of January 2019');
  
          $ovhHandler = new OvhApiHandlerClass();
  
          $ovhHandler-&gt;ovh_get_bills('K87u3410p89ijKLao', $from);
  
          return view('operations.index');
      }
  }
  
  </code></pre>
  
  <p>I already did, of course</p>
  
  <p><code>composer dump-autoload</code></p>
  
  <p>I'm kinda lost, what am i missing?</p>
  
  <p>Thank you very much for your time !</p>