install passport code example Example 1: laravel passport php artisan passport:install Example 2: install passport local $ npm install passport-local