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.

Jasper

Jasper has been working with web applications such as Joomla!, Magento and his favorite WordPress for more than a decade. He helps customers with webdesign and online marketing. Services provided are webdesign, ecommerce, SEO, content marketing. When Jasper is not coding, marketing a website, reading about the web or dreaming the internet of things he plays with his son, travels or run a few blocks.

Leave a Reply

Back To Top