nicodwik / fortify
针对 Laravel 身份验证的后端控制器和脚手架(针对 IDN 修改)。
v2.0.16
2024-09-04 05:03 UTC
Requires
- php: ^8.1
- ext-json: *
- bacon/bacon-qr-code: ^3.0
- illuminate/support: ^10.0|^11.0
- pragmarx/google2fa: ^8.0
- symfony/console: ^6.0|^7.0
Requires (Dev)
- mockery/mockery: ^1.0
- orchestra/testbench: ^8.16|^9.0
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^10.4
- dev-2fa-idn
- dev-master / 2.x-dev
- v2.0.16
- v2.0.15
- v2.0.14
- v2.0.13
- v2.0.12
- v2.0.11
- v2.0.10
- v2.0.9
- v2.0.8
- v2.0.7
- v2.0.6
- v2.0.5
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- 1.x-dev
- v1.24.0
- v1.23.0
- v1.22.0
- v1.21.5
- v1.21.4
- v1.21.3
- v1.21.2
- v1.21.1
- v1.21.0
- v1.20.1
- v1.20.0
- v1.19.1
- v1.19.0
- v1.18.1
- v1.18.0
- v1.17.6
- v1.17.5
- v1.17.4
- v1.17.3
- v1.17.2
- v1.17.1
- v1.17.0
- v1.16.0
- v1.15.0
- v1.14.1
- v1.14.0
- v1.13.7
- v1.13.6
- v1.13.5
- v1.13.4
- v1.13.3
- v1.13.2
- v1.13.1
- v1.13.0
- v1.12.0
- v1.11.2
- v1.11.1
- v1.11.0
- v1.10.2
- v1.10.1
- v1.10.0
- v1.9.0
- v1.8.6
- v1.8.5
- v1.8.4
- v1.8.3
- v1.8.2
- v1.8.1
- v1.8.0
- v1.7.14
- v1.7.13
- v1.7.12
- v1.7.11
- v1.7.10
- v1.7.9
- v1.7.8
- v1.7.7
- v1.7.6
- v1.7.5
- v1.7.4
- v1.7.3
- v1.7.2
- v1.7.1
- v1.7.0
- v1.6.2
- v1.6.1
- v1.6.0
- v1.5.0
- v1.4.3
- v1.4.2
- v1.4.1
- v1.4.0
- v1.3.1
- v1.3.0
- v1.2.1
- v1.2.0
- v1.1.0
- v1.0.1
- v1.0.0
- v0.0.1
- dev-password-status-retry-after
This package is auto-updated.
Last update: 2024-09-04 05:04:47 UTC
README
简介
Laravel Fortify 是 Laravel 的无前端认证后端。Fortify 为 Laravel Jetstream(Laravel Jetstream)的注册、认证和双因素认证功能提供动力。
官方文档
Fortify 的文档可以在 Laravel 网站 上找到。
待办事项
检查 fortify.php
配置
-
视图路径
确定项目中使用的视图路径 -
消息
确定在调用操作后使用的消息(保存在会话闪存中) -
验证
确定自定义 Laravel 验证(表单请求) -
邮件
确定将被调用的邮件类 -
启用双因素认证
确定双因素认证是启用还是禁用
注意
路由
列出您可以使用的路由
## 2FA register page two-factor.register (GET) two-factor.verify (GET) two-factor.resend-email (POST) two-factor.proceed (POST) ## 2FA input page two-factor.login (GET) two-factor.challenge (POST)
已发布的文件
如果您运行 php artisan fortify:install
,这些文件将被生成
## Config config/fortify.php ## Mail app/Mail/TwoFactorAuthenticationQRCode.php resources/views/email/twofactor-qrcode.blade.php ## 2FA page resources/views/auth/two-factor/register.blade.php resources/views/auth/two-factor/challenge.blade.php resources/views/auth/two-factor/recovery-code.blade.php ## Migrations database/migrations/2014_10_12_200000_add_two_factor_columns_to_users_table.php ## Listener (for last login feature) app/Listeners/SetLastLoginSession.php ## Middleware (for last login feature) app/Http/Middleware/CheckLastLoginMiddleware.php