title: Why is php artisan make:factory not Generating with a Model
body: <p>So long story short, I have a model in my Larvel 8 (Jetstream) application called Board. I am trying to generate a factory for this Board model.</p>
  <p>When I use either of the commands below:</p>
  <pre><code>php artisan make:factory BoardFactory
  </code></pre>
  <p>or</p>
  <pre><code>php artisan make:factory BoardFactory --model=Board
  </code></pre>
  <p>I get a factory class generated with seemingly no errors or issues. However, when I open the class  it contains nothing to do with the model.</p>
  <pre><code>&lt;?php
  
  namespace Database\Factories;
  
  use Illuminate\Database\Eloquent\Factories\Factory;
  
  class BoardFactory extends Factory{
      /**
       * Define the model's default state. 
       *
       * @return array
       */
      public function definition()
      {
          return [
              //
          ];
      }
  }
  </code></pre>
  <p>I have tried this with all the Model's within my application and this persists. Once again no error to say the model is not found. The command seemingly runs successfully but obviously hasn't generated the factory for the Model.</p>
  <p>I know I can easily write this manually if needs be, but I would like to understand why this isn't working and how I can fix it. The faster I can get through my testing... the better :)</p>
  <p>Thanks in advance for any help.</p>