use laravel passport basic auth code example Example: laravel passport personal access token php artisan passport:client --personal