orchid/fortify 问题修复 & 功能扩展

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

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

orchid/fortify

最新稳定版本:0.0.12

Composer 安装命令:

composer require orchid/fortify

包简介

Orchid template for Laravel Fortify

README 文档

README

Introduction

Authentication scaffolding with Laravel Orchid template.

Installation

You have to install Laravel Fortify, and complete all setup without add blades calling in App\Providers\FortifyServiceProvider.php.

After installation completed, please add session migration using: (to activate TwoFactorAuthentication method)

php artisan session:table

To get started, install the package using composer:

composer require orchid/fortify

In config/platform.php, disable built-in authorization by changing the value:

/*
|--------------------------------------------------------------------------
| Auth Page
|--------------------------------------------------------------------------
*/

'auth'  => false,

To use on the screen page, use the trait Orchid\Fortify\TwoFactorScreenAuthenticatable:

use Orchid\Fortify\TwoFactorScreenAuthenticatable;

/**
 * Button commands.
 *
 * @return Action[]
 */
public function commandBar(): array
{
    return [
        $this->twoFactorCommandBar(),
    ];
}

/**
 * @return \Orchid\Screen\Layout[]
 */
public function layout(): array
{
    return [
        $this->twoFactorLayout(),
    ];
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 77.3k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 31
  • 点击次数: 7
  • 依赖项目数: 2
  • 推荐数: 5

GitHub 信息

  • Stars: 31
  • Watchers: 9
  • Forks: 10
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 未知