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

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.
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc
animalyoung/laravel-influxdb
onix-solutions/sms-telera
lonely-lights/prosetta
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log