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 Laravel Package

pragmarx/google2fa-laravel

Laravel bridge for pragmarx/google2fa: generate QR codes and verify HOTP/TOTP (RFC 4226/6238) two-factor authentication codes compatible with Google Authenticator and similar apps. Includes config, middleware-friendly integration, and optional recovery codes via separate package.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs Buy: Eliminates need for custom 2FA implementation—avoids security pitfalls, reduces development time, and leverages a battle-tested solution with 1,000+ stars.
  • Use Cases: Securing admin panels, user account protection for sensitive data (e.g., financial/healthcare apps), and meeting compliance requirements (GDPR, PCI DSS) through multi-factor authentication.
  • Roadmap Integration: Enables rapid deployment of 2FA as a core security feature via middleware; supports future scaling through Laravel’s event system and stateless API compatibility.

When to Consider This Package

  • Adopt when: Using Laravel 4.2–10.x, requiring TOTP-based 2FA (Google Authenticator style), prioritizing quick setup via middleware, and needing QR code generation for user onboarding.
  • Look elsewhere when:
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
milesj/emojibase
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