title: Class 'UserTableSeeder' does not exist - Laravel 5.0 [php artisan db:seed]
body: <p>I'm trying a basic php artisan db:seed after migrating my database but it keeps returning the title error in cmd -[ReflectionException] Class 'UserTableSeeder' does not exist</p>
  
  <p>Things I Have Tried</p>
  
  <ul>
  <li>Change the namespace of the 'UserTableSeeder.php' File 'namespace Database\seeds;' and 'use Database\seeds\UserTableSeeder;' in the 'DatabaseSeeder.php' File</li>
  </ul>
  
  <p>Below is the migrations</p>
  
  <pre><code>&lt;?php
  
  use Illuminate\Database\Schema\Blueprint;
  use Illuminate\Database\Migrations\Migration;
  
      class CreateUsersTable extends Migration {
  
          /**
           * Run the migrations.
           *
           * @return void
           */
          public function up()
          {
              Schema::create('users', function(Blueprint $table)
              {
                  $table-&gt;increments('id');
                  $table-&gt;string('name');
                  $table-&gt;string('email')-&gt;unique();
                  $table-&gt;string('password', 60);
                  $table-&gt;rememberToken();
                  $table-&gt;timestamps();
              });
          }
  
      /**
       * Reverse the migrations.
       *
       * @return void
       */
      public function down()
      {
          Schema::drop('users');
      }
  }
  </code></pre>
  
  <p>Below is the UserTableSeeder.php</p>
  
  <pre><code>&lt;?php
  use App\User;
  use Illuminate\Database\Seeder;
  
  class UserTableSeeder extends Seeder {
  
      public function run()
      {
          DB::table('users')-&gt;delete();
  
          User::create(['email' =&gt; 'foo@bar.com']);
      }
  }
  </code></pre>
  
  <p>Below is the DatabaseSeeder.php</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('UserTableSeeder');
      }
  }
  </code></pre>