Support the ongoing development of Laravel.io →
Authentication

I'd like to use the Laravel auth module, but with something other than bcrypt (pbkdf2 perhaps). How do I go on about doing this? It seems like every minor version this changes somewhat, and I can't find exactly where Auth calls the bcrypt() function to hash the password.

I'd like Auth::check() (and wherever it's used) to use something other than bcrypt. This seems like it should be a fairly simple change. Is there a guide for Laravel 5.2 / 5.3?

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.