title: How import custom class in controller Laravel?
body: <p>I have created a new directory <code>Library</code> in root of Laravel.</p>
  
  <p>Inside I put the file with class:</p>
  
  <p><code>class My {
    //
  }</code></p>
  
  <p>So, in controller Laravel I try to get access to this class:</p>
  
  <pre><code>App\Library\My
  </code></pre>
  
  <p>But Laravel does not determine this path.</p>
  
  <p>This is my code:</p>
  
  <pre><code>&lt;?php
  
  namespace App\Http\Controllers;
  
  use Illuminate\Http\Request;
  
  use App\Http\Requests;
  
  use View;
  
  use App\Library\My;
  
  class HomeController extends Controller
  {
   //
  }
  </code></pre>