Instead of sending password resets via email, you can also generate one whenever you’d like using Laravel Tinker on the command line (even in production) and send it manually.
php artisan tinker to open up Laravel Tinker. Then, use this command to generate a password reset token for the
User with ID
This returns a token and adds it (hashed) to the
password_resets table of your database.
To use it, use this path (if your app was set up using Laravel Breeze or Laravel Jetstream):
(If you’re using the older Laravel scaffolding, the link will be
To get this working in production on Laravel Vapor, I ran this command:
php artisan tinker --execute "error_log(app('auth.password.broker')->createToken(App\User::find(1)))"
The command wasn’t actually returning the token in production until I wrapped it with