workflowstacks

The marketplace for AI skills that launch offers, rank in AI search, and automate operations. No coding required.

๐•โšก๐Ÿ’ฌ

Marketplace

  • Browse Skills
  • AI Agents
  • Claude Skills
  • MCP Servers
  • Prompts

Solutions

  • For Founders
  • For Agencies
  • For Ecommerce
  • Agent Builder
  • Starter Packs
  • Playbooks

Learn

  • How It Works
  • What Are Skills
  • What Are Agents
  • What Is MCP
  • For Creators
  • Submit a Tool
  • Security

Company

  • Become a Creator
  • About
  • Enterprise
  • API Docs
  • Terms
  • Privacy
  • Support
Compatible with
๐Ÿค–ChatGPT
โœจClaude
๐Ÿ’ŽGemini
๐Ÿ›๏ธShopify
๐Ÿ”Ahrefs
๐Ÿ“ŠSheets
๐Ÿ’ฌWhatsApp
๐Ÿ“ฑMeta Ads
+50 moreCreator program โ†’

ยฉ 2026 WorkflowStacks. All rights reserved.

TermsPrivacySupport
ai-agent

google2fa: 2FA Security

Add 2-factor authentication to your app with google2fa, for founders. 2.0k+ GitHub stars.
1,999 stars208 forksPHPQuality 8/10Updated 5/27/2026100% free ยท open source
What it does

Adds time-based one-time password authentication to your application, compatible with Google Authenticator, to enhance security with two-factor authentication

Install / run
composer require antonio/google2fa
When to use it
  • โ€ขWhen you need to secure user accounts with an additional layer of authentication beyond just passwords
  • โ€ขWhen integrating with services that require two-factor authentication for enhanced security
  • โ€ขWhen developing applications that handle sensitive user data and require robust authentication mechanisms
Quick start
  1. 1Create a secret key for the user using the Google2FA::generateSecretKey() function
  2. 2Use the Google2FA::getQRCodeUrl() function to generate a QR code URL for the user to scan with Google Authenticator
  3. 3Verify user input with Google2FA::verifyKey(), passing in the user's secret key and the code they entered
  4. 4Implement a mechanism to store and retrieve user secret keys securely, such as using a database
  5. 5Test the two-factor authentication flow to ensure it works as expected
Ready-to-paste prompt
Google2FA::getQRCodeUrl('your_company', 'user@example.com', Google2FA::generateSecretKey())
Heads up: Make sure to store the secret key generated for each user securely, as losing this key will prevent the user from accessing their account
Saves to your device

Topics

2fa
agnostic
google2fa
hacktoberfest
hacktoberfest-accepted
php
two-factor-authentication
What's inside โ€” free to inspect
No purchase needed

Read the entire source before you build โ€” unlike paid marketplaces that hide it behind a buy button.

10
top-level files
4
folders
595K
repo size
MIT
license
Key files
README.md
File tree
.github/
docs/
src/
tests/
.gitattributes
.gitignore
.scrutinizer.yml
CHANGELOG.md
composer.json
LICENSE.md
phpstan.neon
phpunit.xml
README.md
RELICENSED.md
Quick Actions
Details
Creator
antonioribeiro
Language
PHP
Category
ai-agent
Published
9/21/2014

Are you the creator of this tool? Claim your listing โ†’ and earn 85% of every sale.

Related skills

More ai-agent tools founders pair with this one.

ai-agentโ˜… 512,463
build-your-own-x: Learn by Recreating
Improve programming skills by rebuilding tech from scratch. For startup founders and programmers.
ai-agentโ˜… 450,961
Learn to code with freeCodeCamp
Get free programming education with freeCodeCamp, for startup founders and beginners.
ai-agentโ˜… 439,771
Public-apis: Free API Access
Get free APIs for development. For startup founders and developers.
ai-agentโ˜… 390,947
Free Programming Books
Discover free programming books for founders and developers. Learn with free-programming-books.
ai-agentโ˜… 350,624
coding-interview-university: Learn to Code
Get a complete study plan to become a software engineer, for startup founders, with 351k+ GitHub stars
ai-agentโ˜… 297,550
Selfhosted Control with awesome-selfhosted
Host your own network services and web apps. For founders seeking privacy and control.