Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Nova Google2Fa

Nova Google2Fa Laravel Package

sotechnology/nova-google2fa

A Laravel Nova integration for Google Two-Factor Authentication (2FA). Adds Google Authenticator support to Nova, letting users enable and verify time-based one-time passwords for stronger login security.

View on GitHub
Deep Wiki
Context7

This package provides Google2FA support to Laravel Nova.

Frequently asked questions about Nova Google2Fa
What does sotechnology/nova-google2fa do?
It is a Laravel Nova integration for Google Two-Factor Authentication. The package adds Google Authenticator support to Nova so users can enroll and verify time-based one-time passwords during login. It is intended to strengthen Nova authentication with TOTP-based 2FA.
How do I install sotechnology/nova-google2fa in Laravel Nova?
Install it with Composer using composer require sotechnology/nova-google2fa. Then follow the repository README for any service provider registration, configuration publishing, migrations, or Nova asset steps required by your Nova version. Because Nova packages can differ by major version, confirm the setup instructions against your installed Nova release.
Which Laravel and Nova versions are supported by sotechnology/nova-google2fa?
Check the package's composer.json and README on GitHub for the exact Laravel and Nova version constraints. Nova packages are often tied to specific Nova major versions, so verify compatibility before adding it to an existing application. If you are on an older Nova release, test installation in a staging environment first.
How do users enable Google Authenticator in Nova with this package?
The package adds a Nova-facing flow for enrolling a TOTP secret, typically by presenting a secret or QR code that the user adds to Google Authenticator. The user then confirms enrollment with a valid six-digit code. The exact UI depends on the package's Nova components, so follow the README for the enrollment steps.
Does sotechnology/nova-google2fa generate QR codes for Google Authenticator?
Google2FA provides the shared secret and TOTP URI used for authenticator enrollment. Whether the Nova UI renders a QR code directly or expects you to use a separate QR code component depends on the package implementation. Review the README to see if QR display is included or if you need to add a QR code package.
Can I enforce two-factor authentication for all Nova users with this package?
Enforcement options depend on the package's configuration and login hooks, so check the README for middleware, Nova login integration, or required user fields. If built-in enforcement is limited, you can combine the package with Nova access controls or application middleware. Always test the flow for users who have not yet enrolled.
How does sotechnology/nova-google2fa verify TOTP codes during Nova login?
TOTP verification compares the submitted code against the user's stored secret within an allowed time window, typically handled by the underlying Google2FA library. Accurate server time is important because TOTP codes are time-based. Make sure your application servers use reliable time synchronization.
Is sotechnology/nova-google2fa safe for production use?
Treat any authentication package as security-sensitive and review the source code, open issues, release history, and Nova version constraints before production use. Test enrollment, login verification, recovery behavior, and clock drift handling in staging. Also confirm how secrets are stored and protected in your database.
How do I test Google2FA behavior in a Laravel Nova application?
Use a known TOTP secret in your test environment and generate valid codes with a TOTP library, or fake the verification layer where appropriate. Freezing time can make tests more reliable because codes change on a time interval. Cover enrollment, successful verification, invalid codes, and users without 2FA enabled.
What are alternatives to sotechnology/nova-google2fa?
General Laravel 2FA packages such as pragmarx/google2fa-laravel provide TOTP support outside Nova, while other Nova packages may add 2FA fields or login flows. Compare Nova version compatibility, maintenance activity, enrollment UI, and whether enforcement is built in. Choose based on how much Nova-specific integration you need versus a custom implementation.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console