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

pragmarx/google2fa-qrcode

Integrates PragmaRX Google2FA with QR code generation so you can create 2FA secrets and render enrollment QR codes (inline data URI) for Google Authenticator and similar apps. Install via Composer; works with PHP 5.4+.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables secure, user-friendly two-factor authentication (2FA) setup via QR codes during onboarding or account security configuration, eliminating manual secret entry errors.
  • Reduces build-vs-buy tradeoffs by providing a ready-to-integrate QR generation solution, avoiding custom development risks (e.g., insecure Google API calls) and compliance gaps.
  • Supports flexible rendering (SVG/PNG) with minimal dependencies (e.g., chillerlan/php-qrcode avoids Imagick), simplifying infrastructure requirements.
  • Critical for compliance-driven use cases (GDPR, HIPAA) where multi-factor authentication is mandatory, accelerating security feature delivery without reinventing core functionality.

When to Consider This Package

  • ✅ When your Laravel application requires 2FA setup via QR codes and uses pragmarx/google2fa for TOTP logic.
  • ✅ When you need secure, local QR rendering (no external APIs) with options for SVG/PNG output and lightweight dependencies.
  • ✅ For projects using PHP ≥7.1 and compatible with BaconQrCode or chillerlan/php-qrcode dependencies.
  • ❌ When your 2FA flow uses manual secret entry only (no QR code requirement).
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