title: Laravel 5 - artisan seed [ReflectionException] Class SongsTableSeeder does not exist
body: <p>When I run <strong>php artisan db:seed</strong> I am getting the following error: </p>
  
  <pre><code>[ReflectionException] Class SongsTableSeeder does not exist
  </code></pre>
  
  <p>What is going on?</p>
  
  <p>My <strong>DatabaseSeeder class:</strong></p>
  
  <pre><code>&lt;?php
  
  use Illuminate\Database\Seeder;
  use Illuminate\Database\Eloquent\Model;
  
  class DatabaseSeeder extends Seeder {
  
      /**
       * Run the database seeds.
       *
       * @return void
       */
      public function run()
      {
          Model::unguard();
  
          $this-&gt;call('SongsTableSeeder');
      }
  
  }
  </code></pre>
  
  <p>My <strong>SongsTableSeeder class:</strong></p>
  
  <pre><code>&lt;?php
  
  // Composer: "fzaninotto/faker": "v1.4.0"
  use Faker\Factory as Faker;
  use Illuminate\Database\Seeder;
  use DB;
  
  class SongsTableSeeder extends Seeder {
  
      public function run()
      {
          $faker = Faker::create();
          $songs = [];
          foreach(range(1, 10) as $index)
          {
              $songs[] = ['title' =&gt; $faker-&gt;words(rand(1,4))];
          }
  
          DB::table('songs')-&gt;insert($songs);
  
      }
  
  }
  </code></pre>