Weave Code
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

Google2Fa Laravel Package

pragmarx/google2fa

Google2FA adds HOTP/TOTP two-factor authentication to PHP, compatible with Google Authenticator and RFC 4226/6238. Generate secrets and QR code data, verify one-time codes, and tune validation windows and time drift—ideal for Laravel or standalone apps.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit: Excellent for PHP/Laravel projects. The package is framework-agnostic but has a dedicated Laravel bridge for seamless integration. It cleanly separates authentication logic from presentation, making it ideal for adding 2FA to existing auth flows without framework lock-in. The RFC-compliant TOTP/HOTP implementation aligns with standard security practices.

Integration feasibility: High feasibility due to clear API design and extensive documentation. Core functionality (secret generation, verification) requires minimal code changes. Laravel bridge simplifies integration with service provider registration and config publishing. QR code generation requires separate library integration but has well-documented examples for popular options (BaconQRCode, Endroid, etc.).

Technical risk: Moderate. Key risks include:

  • Breaking change in v9.0.0 (secret length increase) requiring database schema updates
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.
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope