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
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Start building today
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