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 Package

pragmarx/google2fa

Google2FA adds HOTP/TOTP two-factor authentication to PHP, compatible with Google Authenticator and RFC 4226/6238. Generate secrets and QR code data, verify one-time codes, and tune validation windows and time drift—ideal for Laravel or standalone apps.

View on GitHub
Deep Wiki
Context7
8.0.1

Added

  • Test using GitHub Actions

Fixed

  • Improve PHP 8.1 compatibility
8.0.0

Added

  • PHP 8 Support
  • Tests
  • Extract som test helpers
  • PHPStan checks

Changed

  • PHP required version bumped to >= 7.1
  • Exception interfaces extending Throwable
7.0.0

Added

  • PHPStan checks

Removed

  • Constants::ARGUMENT_NOT_SET - This is a BC break
6.1.3

Drafted

  • To fix inserted BC break
6.1.2

DELETED

  • To fix inserted BC break
6.1.1

DELETED

  • To fix inserted BC break
6.0.0

Added

  • Base exception class and interfaces

Removed

  • Support for PHP 5.4 to 7.0, will keep supporting PHP 7.1, 7.2, 7.3 & 7.4
5.0.0

Changed

  • Remove dead Google Charts API
4.0.0

Changed

  • Bacon QRCode package removed
3.0.1

Changed

  • Relicensed to MIT
3.0.0

Changed

  • It's now mandatory to enable Google Api secret key access by executing setAllowInsecureCallToGoogleApis(true);
2.0.4

Fixed

  • Fix Base32 to keep supporting PHP 5.4 && 5.5.
2.0.3
2.0.2
2.0.1

Fixed

  • Minor bugs
2.0.0

Changed

1.0.1

Changed

  • Drop support for PHP 5.3.7, require PHP 5.4+.
  • Coding style is now PSR-2 automatically enforced by StyleCI.
1.0.0

Changed

  • Package bacon/bacon-qr-code was moved to "suggest".
0.8.1

Fixed

  • Allow paragonie/random_compat ~1.4|~2.0.
0.8.0

Changed

  • Bumped christian-riesen/base32 to ~1.3
  • Use paragonie/random_compat to generate cryptographically secure random secret keys
  • Readme improvements
  • Drop simple-qrcode in favor of bacon/bacon-qr-code
  • Fix tavis setup for phpspec, PHP 7, hhvm and improve cache
0.7.0

Changed

  • Fixed URL generation for QRCodes
  • Avoid time attacks
0.2.0

Changed

  • Laravel 5 compatibility.
0.1.0

Added

  • First version.
Change
9.0.0

⚠️ Breaking Change

Added

  • Increased default secret key length from 16 to 32 characters for enhanced security
  • Cryptographic entropy increased from 80 bits to 160 bits
  • Maintains full compatibility with Google Authenticator and other TOTP apps

Changed

  • generateSecretKey() now generates 32-character secrets by default
  • To maintain previous behavior, use generateSecretKey(16)
  • Updated tests to reflect new default behavior

Security

  • This change significantly improves security against brute force attacks
  • 32-character secrets provide stronger cryptographic protection while maintaining RFC 6238 compliance
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