Laravel Fortify comes with 2FA out of the box, I think you can look into the package src and see how they did it? I think it is a combination of
"bacon/bacon-qr-code": "^2.0",
"pragmarx/google2fa": "^7.0|^8.0"
I'm aware that there are many packages out there that "support" 2FA for Laravel. But some of them are outdated, seem insecure or are only available for Google Authenticator.
Via Medium I found the Package Laraguard and was excited to implement it as it seems to do exactly what I wanted. But it seems insecure as my password was visible in plain-text while logging in. Plus, when trying with Authy, some strange name appeared as my logo.
I wanted to give Authy a try, but it is outdated and I cannot install it with my current Laravel 8 project. There is a PR since late last year, but the project seems abandoned.
What are your recommendations? Btw, I'm using Laravel Breeze.
Please or to participate in this conversation.