pragmarx/google2fa
Google2FA is a PHP implementation of Google Two-Factor Authentication, supporting HOTP (RFC 4226) and TOTP (RFC 6238). It lets you generate secret keys, QR codes, and verify one-time passwords from Google Authenticator and similar apps, with an optional Laravel bridge.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| pragmarx/google2fa-laravel | 0.90 | 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. | 1,053 | 1,061 | 193 | 1M | 57 | 27.8 | 60.5 | MIT | 6 years ago | |
| pragmarx/google2fa-qrcode | 0.89 | 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+. | 119 | 124 | 27 | 3M | 0 | 1.4 | 55.3 | MIT | — | |
| delight-im/otp | 0.87 | A PHP library for generating and verifying one-time passwords, with support for time-based and counter-based OTPs, configurable code lengths and HMAC algorithms, and simple APIs for adding two-factor authentication to Laravel or any PHP application. | 5 | 5 | 2 | 7K | 0 | 0.1 | 42.0 | MIT | — | |
| jonasarts/google-authenticator-bundle | 0.87 | Symfony bundle for adding Google Authenticator two-factor authentication to your app. Provides TOTP secret generation and code validation, with configurable services for integrating 2FA into login flows. | 4 | 4 | 1 | 325 | 0 | 0.1 | 25.1 | MIT | — | |
| pragmarx/ia-str | 0.87 | Framework-agnostic extraction of Laravel’s Illuminate\Support\Str and string helper functions, repackaged under IlluminateAgnostic\Str to avoid namespace conflicts. Use Str:: methods or global str_* helpers in any PHP project, including Laravel apps. | 52 | 52 | 11 | 32K | 3 | 1.3 | 38.7 | MIT | — | |
| chillerlan/php-authenticator | 0.86 | A PHP 8.4+ library for generating counter-based (RFC 4226) and time-based (RFC 6238) one-time passwords, compatible with Google Authenticator and Steam Guard, with constant-time encoding and server time sync support. | 56 | 58 | 2 | 6K | 0 | 13.5 | 30.3 | MIT | 7 months ago | |
| pragmarx/ia-arr | 0.85 | Illuminate\Support\Arr extracted from Laravel, repackaged as a framework-agnostic PHP library. Provides the full set of Arr helpers under the IlluminateAgnostic\Arr namespace to avoid conflicts, usable in any project (including Laravel). | 55 | 55 | 21 | 34K | 0 | 1.3 | 38.5 | MIT | 2 years ago | |
| mustafa-awami/lara2fa | 0.85 | — | 9 | 9 | 0 | 3 | 1 | 0.1 | 1.6 | MIT | — | |
| scheb/2fa-google-authenticator | 0.85 | Adds Google Authenticator-based two-factor authentication (TOTP) to Symfony apps. Generates QR codes and secrets, validates one-time codes, and plugs into your login flow to improve account security with minimal setup. | 29 | 30 | 2 | 403K | 0 | 0.2 | 55.3 | MIT | — | |
| spomky-labs/otphp | 0.85 | A PHP library for generating one-time passwords using the HOTP (RFC 4226) and TOTP (RFC 6238) algorithms, compatible with Google Authenticator and other apps. Generate, verify, and manage OTP secrets easily in your PHP projects. | 1,497 | 1,502 | 163 | 2M | 0 | 34.5 | 47.7 | MIT | 5 months ago | |
| robthree/twofactorauth | 0.85 | RobThree/TwoFactorAuth is a dependency-light PHP library for TOTP and HOTP two-factor authentication. It generates secrets, verifies codes, and creates QR codes for Google Authenticator, Authy, and compatible apps, making 2FA easy to add to Laravel or any PHP app. | 1,191 | 1,193 | 144 | 689K | 1 | 14.0 | 39.7 | MIT | 10 months ago | |
| kind-work/two-fa | 0.85 | A Laravel package for adding two-factor authentication to your applications. It helps secure user accounts with an additional verification step and integrates into existing auth flows, giving teams a simple way to strengthen login protection. | 3 | — | 5 | — | 0 | 0.3 | — | NOASSERTION | 3 years ago | |
| oluomotoso/nova-google2fa | 0.84 | Add Google Two-Factor Authentication to Laravel Nova. This package brings TOTP-based 2FA to your Nova login flow, letting users enroll with an authenticator app via QR code and confirm a one-time code at sign-in for stronger account security. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| dragonzap/2fa | 0.84 | Laravel 2FA package with email-based codes by default and optional TOTP for Google/Microsoft Authenticator. Protect routes via the twofactor middleware (always or if-enabled). Publish config, run migrations, and override classes to fully customize the flow. | 0 | 0 | 0 | 0 | 0 | 1.2 | — | GPL-3.0 | 2 years ago | |
| twofas/encryption | 0.84 | A Laravel encryption package from TwoFAS that provides straightforward helpers for securely encrypting and decrypting sensitive application data, with configurable keys, framework-friendly integration, and a simple API for common encryption tasks. It helps protect secrets and personal data across La... | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| pragmarx/recovery | 0.84 | Generate customizable recovery/backup codes for 2FA account recovery. Create arrays, JSON, or (Laravel) Collections, and tune how many codes to make plus blocks and characters per block for your preferred format and length. | 89 | 90 | 13 | 176K | 2 | 1.6 | 45.7 | MIT | 5 years ago | |
| stephenjude/filament-two-factor-authentication | 0.84 | Add two-factor authentication to Filament apps with TOTP and passkey support. Install via Composer, add the TwoFactorAuthenticatable trait to your user model, and run the install command to set up migrations and views. | 87 | 87 | 35 | 27K | 1 | 26.4 | 39.2 | MIT | 1 day ago | |
| darkghosthunter/laraguard | 0.84 | Laraguard brings TOTP-based two-factor authentication to Laravel. It offers a dedicated auth guard, middleware, recovery codes, QR-code onboarding, and events, making it easy to secure logins with Google Authenticator-compatible codes. | 264 | — | 24 | — | 0 | 1.1 | — | MIT | 4 years ago |
|
| scheb/2fa-totp | 0.84 | TOTP (Time-based One-Time Password) provider for the scheb TwoFactorBundle, enabling app-based 2FA with authenticator codes. Part of the scheb/2fa project (read-only mirror); see main repo/docs for setup. | 29 | 30 | 2 | 400K | 0 | 0.2 | 55.3 | MIT | — | |
| eddusoft/filament-access-control-2fa | 0.84 | Filament plugin that adds access control with two-factor authentication, helping you secure admin panels and manage user permissions. Extend Filament resources and panels with 2FA challenges and role-based access restrictions, keeping sensitive areas protected while staying simple to configure. | 0 | — | 0 | — | 0 | 0.7 | 0.8 | MIT | 2 years ago |
How can I help you explore Laravel packages today?