orchid/fortify

Orchid template for Laravel Fortify

Maintainers

👁 tabuna

Package info

github.com/orchidsoftware/fortify

Homepage

Language:Blade

pkg:composer/orchid/fortify

Fund package maintenance!

orchidsoftware

Open Collective

Statistics

Installs: 82 558

Dependents: 2

Suggesters: 5

Stars: 31

Open Issues: 5

0.0.12 2023-05-26 16:20 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

Replaces

None

MIT f6c47e350367f243225e8c0a9e946601c07e0651

orchidfortify

This package is auto-updated.

Last update: 2026-05-28 08:20:59 UTC


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.