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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4