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.
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
ecotone/kafka
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata