title: Laravel 5: DB Seed class not found
body: <p>I have this 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('MemberInvitationSeeder');
          }
      }
  </code></pre>
  
  <p>I have this file MemberInvitationSeeder.php, sibling to the DatabaseSeeder.php file</p>
  
  <pre><code>&lt;?php
  
  use Illuminate\Database\Seeder;
  use App\MemberInvitation;
  
      class MemberInvitationSeeder extends Seeder {
  
          public function run()
          {
              MemberInvitation::truncate();
  
              MemberInvitation::create( [
                  'id' =&gt; 'BlahBlah' ,//com_create_guid(),
                  'partner_id' =&gt; 1,
                  'fisrt_name' =&gt; 'Thats',
                  'last_name' =&gt; 'Me',
                  'email' =&gt; 'me@mymail.com',
                  'mobile_phone' =&gt; '444-342-4234',
                  'created_at' =&gt; new DateTime
              ] );
  
          }
      }
  </code></pre>
  
  <p>Now I call </p>
  
  <pre><code>php artisan db:seed
  </code></pre>
  
  <p>and I get:</p>
  
  <pre><code>[ReflectionException]                        
    Class MemberInvitationSeeder does not exist
  </code></pre>
  
  <p>I tried everything I could find including "composer dump-autoload". to no avail. What am I doing wrong?</p>