xxxxxxxxxx
<!-- Your form with a password input field -->
<form>
<input type="password" name="password" id="password-field">
<label for="show-password">
Show Password
<input type="checkbox" id="show-password">
</label>
</form>
xxxxxxxxxx
//User User model
use App\User;
//Select user data form database
$user = User::where('username', $request->username)->first();
//Check password hash
if(!$user || !Hash::check($request->password, $user->password)){
//Invalid login username or password!
} else {
//username & password matches
}