Error:
Symfony \ Component \ ErrorHandler \ Error \ FatalError Trait "Laravel\Passport\HasApiTokens" not found

Solution:
I have faced the same issue and it was resolved by doing the following:
Do you have a composer? Install that first. Then you need Laravel Passport.
Step 1:
php artisan key:generate
Step 2:
Run composer require laravel/passport
Step 3:
Run php artisan passport:install from command line
Step 4:
Add add theĀ Laravel\Passport\HasApiTokensĀ trait to yourĀ App\UserĀ model.








