title: How to make migration model in Laravel
body: <p>I am new with Larvel and I am trying to make migration &amp; make model so I write in the terminal <code>php artisan make:model -m</code> </p>
  
  <p>I get the following error:</p>
  
  <blockquote>
    <p>Warning: require(/Users/saramuneef/trainblog/vendor/autoload.php):
    failed to open stream: No such file or directory in
    /Users/saramuneef/trainblog/artisan on line 18</p>
  </blockquote>
  
  <p>I am using xammp for local host, and this error appears when I try to make .env file by use artisan key:generate </p>
  
  <pre><code>php artisan make:model Trainee
  </code></pre>
  
  <blockquote>
    <p>Fatal error: require(): Failed opening required
    '/Users/saramuneef/trainblog/vendor/autoload.php' (include_path='.:')
    in /Users/saramuneef/trainblog/artisan on line 18</p>
  </blockquote>
  
  <p>I expect it to create a model, but it fails</p>