title: Laravel 5 Seeding
body: <p>I am following the tutorial in "Laravel 5 Essentials."  When I try to seed my database with the command </p>
  
  <p><code>php artisan db:seed</code></p>
  
  <p>I receive the error </p>
  
  <pre><code>[ReflectionException]
    Class BreedsTableSeeder does not exist
  </code></pre>
  
  <p>The code for BreedsTableSeeder is defined below:</p>
  
  <pre><code>&lt;?
  
  use Illuminate\Database\Seeder;
  use Illuminate\Database\Eloquent\Model;
  
  class BreedsTableSeeder extends Seeder {
  
      public function run() 
      {
          DB:table('breeds')-&gt;insert([
          ['id' =&gt; 1, 'name' =&gt; "Domestic"],
          ['id' =&gt; 2, 'name' =&gt; "Persian"],
          ['id' =&gt; 3, 'name' =&gt; "Siamese"],
          ['id' =&gt; 4, 'name' =&gt; "Abyssinian"],
          ]);
      }
  }
  </code></pre>
  
  <p>The DatabaseSeeder is defined as such:</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::class);
          $this-&gt;call('BreedsTableSeeder');
      }
  }
  </code></pre>
  
  <p>1
  I noticed that "DB" has a different color when I load sample code in Sublime, which makes me suspect that this has something to do with the DB namespace.  Because I am new to Laravel, I am not sure where DB should be defined.</p>
  
  <p>I also tried executing </p>
  
  <pre><code>composer dump-autoload
  </code></pre>
  
  <p>but that did not work.  Does anyone know how to fix this problem?  Thanks!</p>