ai-agent

google2fa-laravel: Boost App Security

Get two-factor authentication for Laravel with google2fa-laravel, trusted by 1.1k+ GitHub stars, for founders needing secure login solutions
1,055 stars196 forksPHPGuide quality 8/10Updated 7/18/2026100% free · open source
What it does

Adds two-factor authentication to Laravel using Google Authenticator for secure user login

When to use it
  • When building a web application that requires secure user authentication
  • When needing to comply with security regulations that mandate two-factor authentication
  • When wanting to provide an extra layer of security for users logging into a Laravel application
Ready-to-paste prompt
php artisan tinker --command='Google2FAAuthenticator::getSecretKey()'
Heads up: Make sure to configure the 'google2fa' section in the 'config/google2fa.php' file correctly, as incorrect settings may prevent two-factor authentication from working properly
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/google2fa-laravel && curl -fsSL https://workflowstacks.com/api/skills/google2fa-laravel/claude-skill -o ~/.claude/skills/google2fa-laravel/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How google2fa-laravel: Boost App Security works
Codeflow
Free to inspect

Google2fa-laravel: Boost App Security is a small PHP project (~700 lines across 25 code files, plus 6 test files). Setup is light: install PHP, run one command. Last commit 2 months ago, MIT license, has a test suite.

Size
Small codebase
~700 lines · 25 code files · 6 min skim
Setup
Light setup
Install PHP, run one command.
Runs on
PHP
No API keys detected
PHP 100%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    composer.json
    Dependencies and the commands it exposes
  3. 3
    src/Facade.php
    Inside src/ — the main logic begins here
What's in each folder
src/Core code — the actual logic26 files
docs/Documentation1 files
tests/Tests — proof it works7 files
.github/CI / automation (GitHub Actions)1 files
READMEHas testsDocumentedCI checksMIT licenseUpdated 2 mo ago
Quick Actions
Details
Creator
antonioribeiro
Language
PHP
Category
ai-agent
Published
6/17/2017

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