For Auto-Hashing your users password without using Hash::make on create or update.
Just add this trait HasHashedPassword to your auth model.
1namespace App\Models;2 3use Pharaonic\Laravel\Users\Traits\Password\HasHashedPassword; 4 5class User extends Authenticatable6{7 use HasHashedPassword; 8}
And if you want to manage the history of user hashed passwords For Security Issues.
Just add this trait HasHashedPassword to your auth model.
1namespace App\Models;2 3use Pharaonic\Laravel\Users\Traits\Password\HasPasswordHistory; 4 5class User extends Authenticatable6{7 use HasPasswordHistory; 8}
Then you have a way to manipulate the user hashed-passwords history with agents info and IP.
1$user->passwordHistory; 2// Returns \Illuminate\Database\Eloquent\Relations\MorphMany 3 4// created_at 5// pass_from 6// pass_to 7// ip 8// agent 9// - device10// - operationSystem11// - browser