evgen-dev/google-authenticator 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

evgen-dev/google-authenticator

最新稳定版本:v0.1.2

Composer 安装命令:

composer require evgen-dev/google-authenticator

包简介

Laravel/GoogleAuthenticator - generate and check OTP

README 文档

README

Laravel 10.x simple Google Authenticator 2FA auth support.

Installation

Install using composer

composer require evgen-dev/google-authenticator

Add the provider to config/app.php

'providers' => [
    EvgenDev\GoogleAuthenticator\GoogleAuthenticatorServiceProvider::class,
]

Using

use EvgenDev\GoogleAuthenticator\Facades\GoogleAuthenticator;

GoogleAuthenticator::getCode('YOUR_SECRET_STRING');
GoogleAuthenticator::checkCode('YOUR_SECRET_STRING', 'YOUR_CODE');
GoogleAuthenticator::getQRCodeUrl('username', 'example.org', 'YOUR_SECRET_STRING');
GoogleAuthenticator::generateSecret();

统计信息

  • 总下载量: 2
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 0
  • Forks: 213
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-02-06