SaaSHub helps you find the best software and product alternatives Learn more →
Top 7 PHP OTP Projects
-
2FAuth
A Web app to manage your Two-Factor Authentication (2FA) accounts and generate their security codes
Project mention: GitHub's 2FA is to become mandatory on September 2, 2026 | news.ycombinator.com | 2026-07-20I have used 2FAuth for years and it is rock solid. You can self-host it on a NAS or a pi or local computer via Docker. https://github.com/Bubka/2FAuth
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
multiotp
multiOTP open source strong two factor authentication PHP library, OATH certified, with TOTP, HOTP, Mobile-OTP, YubiKey, SMS, QRcode provisioning, etc.
-
laravel-otp
Headless OTP generation and validation for Laravel — channel-agnostic, event-driven, and framework for any recipient type.
-
auth-for-laravel
Headless multi-guard authentication for Laravel: password, magic link, email OTP and passkey login, 2FA challenges, JWT + rotating refresh sessions, invitations, verification and activity logging.
Project mention: Auth for Laravel — headless multi-guard login with 2FA, passkeys and JWT sessions | dev.to | 2026-10-05GitHub: https://github.com/roundly-consulting/auth-for-laravel
-
-
laravel-whatsapp-cost-control
WhatsApp Business Cloud API for Laravel with the part nobody packages: per-message cost tracking, country rate cards, budget guardrails, template management and a full send audit log.
The ledger, the effective-dated rate card and the fail-closed country allowlist described here are packaged as laravel-whatsapp-cost-control, MIT licensed, for Laravel 12 and 13. Sending is already well served by existing packages; this one covers the part that decides what the sending costs.
PHP OTP discussion
PHP OTP related posts
-
GitHub's 2FA is to become mandatory on September 2, 2026
-
EU tells Apple to open everything up to its rivals
-
OTP Manager
-
2FAuth: A Self-Hosted Web-Based OTP Alternative
-
FOSS TOTP App with selfhosted sync
-
2fauth on docker-compose
-
Can we trust 2fauth ?
-
A note from our sponsor - SaaSHub
www.saashub.com | 17 Nov 2026
Index
What are some of the best open-source OTP projects in PHP? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | 2FAuth | 4,222 |
| 2 | otphp | 1,496 |
| 3 | multiotp | 462 |
| 4 | laravel-otp | 222 |
| 5 | auth-for-laravel | 48 |
| 6 | otp-auth | 10 |
| 7 | laravel-whatsapp-cost-control | 4 |