skip to Main Content
Laravel Tinker New Bcrypt Password

Laravel Tinker New Bcrypt Password

If you quickly need to adjust a user’s password or add a new password for a new user you can do that using Laravel Tinker. Just fire up

php artisan tinker

then run the following:

$pw = bcrypt('yourpasswordofchoice');

This will then spit out the password encrypted using the standard Bcrypt encryption. This you can then add to the users table for the user in question.


Been working with WordPress, SEO, content marketing and the web for 12+ years. When I am not coding, reading about the web or dreaming the web of things I travel or run a few blocks

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top