I'm using laravel passport to make a login system in my api.
But I was wondering if there is any way to make the password more secure, is there any way to do more rounds in the password, I also read that Argon2id is more secure than bcrypt, that is correct? If is correct how I use it?. Here I leave my signup code
public function signup(Request $request)
{
$request->validate([
'name' => 'required|string',
'email' => 'required|string|email|unique:users',
'password' => 'required|string|confirmed',
]);
$user = new User([
'name' => $request->name,
'email' => $request->email,
'password' => bcrypt($request->password), // Hash
]);
$user->save();
return response()->json([
'message' => 'Successfully created user!'], 201);
}