'hashed', so plain text is fine. $newPassword = 'ThisUse3*rNo32N3o244'; // <-- modify if you need a different password $user = User::where('email', $email)->first(); if (! $user) { $this->command?->warn("User {$email} not found – nothing updated."); return; } $user->password = $newPassword; // Will be hashed automatically by cast if ($user->email_verified_at === null) { $user->email_verified_at = now(); } $user->save(); $this->command?->info("Password updated for {$email}."); } }