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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
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
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation
uri-template/tests