I have made a php class that combines different hash algorithms, and I would like to implement it within the bcrypt()
laravel's method.
My current solution is to access the AuthController and replace bcrypt($data['password'])
by bcrypt(phashp($data['password']))
, but I wonder if there is a way to modify the method without changing the code in the Illuminate Hashing vendor nor in the AuthController.
How can I extend this method?
Thank you!