I am new with Larvel and I am trying to make migration & make model so I write in the terminal php artisan make:model -m
I get the following error:
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
I am using xammp for local host, and this error appears when I try to make .env file by use artisan key:generate
php artisan make:model Trainee
Fatal error: require(): Failed opening required '/Users/saramuneef/trainblog/vendor/autoload.php' (include_path='.:') in /Users/saramuneef/trainblog/artisan on line 18
I expect it to create a model, but it fails