svc/totp-bundle 问题修复 & 功能扩展

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

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

svc/totp-bundle

最新稳定版本:6.12.1

Composer 安装命令:

composer require svc/totp-bundle

包简介

Userinterface for the excellent SchebTwoFactorBundle

README 文档

README

CI Latest Stable Version License Total Downloads PHP Version Require Symfony Last commit

⚠️ Version Compatibility:

  • Version 6.x (current): Requires Symfony 7.2+, PHP 8.4+
  • Version 5.x: Compatible with Symfony 6.4 and 7.x, PHP 8.2+
  • Version 4.x: Compatible with Symfony 6.1+
  • Version 1.x: For older Symfony installations

Breaking Changes:

  • Version 6.4.0+: All state-changing operations now require CSRF protection and POST methods. See Usage documentation for migration details.
  • Version 6.6.0 (2025-01): HTTP method restrictions enforced on all routes. Rate limiting requires symfony/rate-limiter dependency and manual configuration. Non-nullable $backupCodes array type in trait. See Configuration documentation for details.

Userinterface for the excellent SchebTwoFactorBundle

SchebTwoFactorBundle provides the functions to implement simple 2FA. However, you have to create the user interface yourself.

This small bundle provides a ready to use implementation.

The following functions are enabled:

  • TOTP
  • Backup codes
  • Trusted devices

Installation and configuration

Screenshots

Enable 2FA

Enable 2FA

Disable 2FA

Disable 2FA

Backup codes

Backup codes

Enter 2FA code

Enter 2FA code

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

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