google2fa – Add Secure OTP Login to Your PHP App
From the repo · “A One Time Password Authentication package, compatible with Google Authenticator.”
Adds time-based one-time password authentication to your application, compatible with Google Authenticator, to enhance security with two-factor authentication
- •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
Google2FA::getQRCodeUrl('your_company', 'user@example.com', Google2FA::generateSecretKey())Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Installs with a command or two; your AI agent can do it for you.
mkdir -p ~/.claude/skills/google2fa && curl -fsSL https://workflowstacks.com/api/skills/google2fa/claude-skill -o ~/.claude/skills/google2fa/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Google2fa – Add Secure OTP Login to Your PHP App is a small PHP project (~600 lines across 14 code files, plus 8 test files). Setup is light: install PHP, run one command. Last commit 2 months ago, MIT license, has a test suite.
- 1README.mdStart here — what it does and how to install it
- 2composer.jsonDependencies and the commands it exposes
- 3src/Google2FA.phpInside src/ — the main logic begins here
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Installs with a command or two; your AI agent can do it for you.
mkdir -p ~/.claude/skills/google2fa && curl -fsSL https://workflowstacks.com/api/skills/google2fa/claude-skill -o ~/.claude/skills/google2fa/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Are you the creator of this tool? and earn 85% of every sale.
Show it off in your README:
[](https://workflowstacks.com/skills/google2fa?utm_source=github&utm_medium=badge)The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.
Related skills
More ai-agent tools founders pair with this one.