#Install passport composer require laravel/passport #Register the service provider in config/app.php LaravelPassportPassportServiceProvider::class, #Run the migrations php artisan migrate #Generate key php artisan passport:install