https://github.com/orchidsoftware/fortify
Orchid template optimized for Fortify, an authentication package for Laravel, combining strengths for a robust and secure application environment.
https://github.com/orchidsoftware/fortify
hacktoberfest laravel-auth laravel-fortify
Last synced: 8 months ago
JSON representation
Orchid template optimized for Fortify, an authentication package for Laravel, combining strengths for a robust and secure application environment.
- Host: GitHub
- URL: https://github.com/orchidsoftware/fortify
- Owner: orchidsoftware
- License: mit
- Created: 2020-10-24T17:56:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-28T01:38:58.000Z (about 3 years ago)
- Last Synced: 2025-10-08T00:34:36.428Z (8 months ago)
- Topics: hacktoberfest, laravel-auth, laravel-fortify
- Language: Blade
- Homepage: https://orchid.software
- Size: 44.9 KB
- Stars: 31
- Watchers: 9
- Forks: 8
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# Template for Fortify
## Introduction
Authentication scaffolding with [Laravel Orchid](https://github.com/orchidsoftware/platform) template.
## Installation
You have to install [Laravel Fortify](https://laravel.com/docs/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)
```bash
php artisan session:table
```
To get started, install the package using composer:
```bash
composer require orchid/fortify
```
In `config/platform.php`, disable built-in authorization by changing the value:
```php
/*
|--------------------------------------------------------------------------
| Auth Page
|--------------------------------------------------------------------------
*/
'auth' => false,
```
To use on the screen page, use the trait `Orchid\Fortify\TwoFactorScreenAuthenticatable`:
```php
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](.github/CONTRIBUTING.md) for details.
## Security Vulnerabilities
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.