Google2FA is a PHP package that implements two-factor authentication (2FA) using Time-based One-Time Passwords (TOTP) compatible with Google Authenticator and similar apps. It enhances account security by requiring users to enter a time-sensitive code in addition to their password. The library is lightweight, reliable, and easy to integrate into any PHP or Laravel-based authentication flow.

Features

  • Generates TOTP tokens for 2FA authentication
  • Compatible with Google Authenticator and Authy
  • Supports QR code generation for easy user setup
  • Time-based and algorithmically secure token validation
  • Easy integration with Laravel authentication system
  • Provides recovery and manual verification options

Project Samples

Project Activity

See All Activity >

Categories

Authentication

License

MIT License

Follow Google2FA

Google2FA Web Site

Other Useful Business Software
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Google2FA!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

PHP

Related Categories

PHP Authentication Software

Registered

2025-05-22