title: Calling Laravel Seeder inside folder
body: <p>I've upgraded to Laravel 8, but my custom seeder in a subdirectory is not working. The file is at <code>database/seeders/tests/TestSeeder.php.</code></p>
  <p>When I run the command <code>php artisan db:seed --class=&quot;TestSeeder&quot;</code> it return an error message:</p>
  <pre class="lang-none prettyprint-override"><code>Target class [Database\Seeders\TestSeeder] does not exist.
  </code></pre>
  <p><strong>Seeder</strong></p>
  <pre class="lang-php prettyprint-override"><code>&lt;?php
  
  namespace Database\Seeders\Tests;
  
  class TestSeeder extends BaseSeeder
  {
      /**
       * Run the database seeds.
       *
       * @return void
       */
      public function run()
      {
         // codes
      }
  }
  </code></pre>
  <p><strong>composer.json</strong></p>
  <pre class="lang-json prettyprint-override"><code>&quot;autoload&quot;: {
      &quot;psr-4&quot;: {
          &quot;App\\&quot;: &quot;app/&quot;,
          &quot;Database\\Factories\\&quot;: &quot;database/factories/&quot;,
          &quot;Database\\Seeders\\&quot;: &quot;database/seeders/&quot;,
          &quot;Database\\Seeders\\Tests\\&quot;: &quot;database/seeders/tests/&quot;
      }
  },
  </code></pre>