PHPackages                             zacksmash/fortify-ui - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. zacksmash/fortify-ui

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

zacksmash/fortify-ui
====================

Fortify-driven Laravel UI replacement

v2.0.2(11mo ago)24617.0k↓34.6%236MITBladeCI failing

Since Sep 27Pushed 11mo ago7 watchersCompare

[ Source](https://github.com/zacksmash/fortify-ui)[ Packagist](https://packagist.org/packages/zacksmash/fortify-ui)[ Docs](https://github.com/zacksmash/fortify-ui)[ RSS](/packages/zacksmash-fortify-ui/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (30)Used By (6)

[![](https://github.com/zacksmash/fortify-ui/raw/master/fortify-ui-image.png)](https://github.com/zacksmash/fortify-ui/raw/master/fortify-ui-image.png)

Introduction
============

[](#introduction)

Note

For Laravel 10 and below, use branch v1.x

**FortifyUI** is an unopinionated authentication starter, powered by [*Laravel Fortify*](https://github.com/laravel/fortify). It is completely unstyled -- on purpose -- and only includes a minimal amount of markup to get your project running quickly. This package can be used to start your project, or you can use the [*FortifyUI Preset Template*](https://github.com/zacksmash/fortify-ui-preset) which allows you to create your own preset that you can install with **FortifyUI**.

### In a nutshell...

[](#in-a-nutshell)

**FortifyUI** automates the base installation and configuration of *Laravel Fortify*, it includes the features that *Laravel Fortify* recommends implementing yourself and it provides the scaffolding for you to build your own UI around it. Hence, Fortify + UI.

---

- [Introduction](#introduction)
    - [In a nutshell...](#in-a-nutshell)
    - [Installation](#installation)
    - [Configuration](#configuration)
    - [Features](#features)
        - [Email Verification](#email-verification)
        - [Password Confirmation](#password-confirmation)
        - [Two-Factor Authentication](#two-factor-authentication)
        - [Update User Password/Profile](#update-user-passwordprofile)
    - [FortifyUI Presets](#fortifyui-presets)
        - [Community Presets](#community-presets)
    - [License](#license)

Installation
------------

[](#installation)

To get started, you'll need to install **FortifyUI** using Composer. This will install *Laravel Fortify* as well so, please make sure you **do not** have it installed, already.

```
composer require zacksmash/fortify-ui
```

Next, you'll need to run the install command:

```
php artisan fortify:ui
```

This command will publish **FortifyUI's** views, add the `home` route to `web.php` and add the **FortifyUI** service provider to your `app/Providers` directory. This will also publish the service provider and config file for *Laravel Fortify*. Lastly, it will register both service providers in the `app.php` config file, under the providers array.

That's it, you're all setup! For advanced setup and configuration options, keep reading!

Configuration
-------------

[](#configuration)

The **FortifyUI** service provider registers the views for all of the authentication features. If you'd rather **not** include the **FortifyUI** service provider, you can skip generating it by using the `--skip-provider` flag.

```
php artisan fortify:ui --skip-provider
```

Then, you can add this to your `AppServiceProvider` or `FortifyServiceProvider`, in the `boot()` method.

```
Fortify::loginView(function () {
    return view('auth.login');
});

Fortify::registerView(function () {
    return view('auth.register');
});

Fortify::requestPasswordResetLinkView(function () {
    return view('auth.forgot-password');
});

Fortify::resetPasswordView(function ($request) {
    return view('auth.reset-password', ['request' => $request]);
});

// Fortify::verifyEmailView(function () {
//     return view('auth.verify-email');
// });

// Fortify::confirmPasswordView(function () {
//     return view('auth.confirm-password');
// });

// Fortify::twoFactorChallengeView(function () {
//     return view('auth.two-factor-challenge');
// });
```

To register all views at once, you can use this instead:

```
Fortify::viewPrefix('auth.');
```

Now, you should have all of the registered views required by *Laravel Fortify*, including basic layout and home views, as well as optional password confirmation, email verification and two-factor authentication views.

Features
--------

[](#features)

By default, **FortifyUI** is setup to handle the basic authentication functions (Login, Register, Password Reset) provided by *Laravel Fortify*.

### Email Verification

[](#email-verification)

To enable the email verification feature, you'll need to visit the **FortifyUI** service provider and uncomment `Fortify::verifyEmailView()`, to register the view. Then, go to the `fortify.php` config file and make sure `Features::emailVerification()` is uncommented. Next, you'll want to update your `User` model to include the following:

```
use Illuminate\Contracts\Auth\MustVerifyEmail;

class User extends Authenticatable implements MustVerifyEmail
{
    ...
```

This allows you to attach the `verified` middleware to any of your routes, which is handled by the `verify.blade.php` file.

[More info about this can be found here.](https://github.com/laravel/fortify/blob/1.x/README.md#email-verification)

### Password Confirmation

[](#password-confirmation)

To enable the password confirmation feature, you'll need to visit the **FortifyUI** service provider and uncomment `Fortify::confirmPasswordView()`, to register the view. This allows you to attach the `password.confirm` middleware to any of your routes, which is handled by the `password-confirm.blade.php` file.

### Two-Factor Authentication

[](#two-factor-authentication)

To enable the two-factor authentication feature, you'll need to visit the **FortifyUI** service provider and uncomment `Fortify::twoFactorChallengeView()`, to register the view. Then, go to the `fortify.php` config file and make sure `Features::twoFactorAuthentication` is uncommented. Next, you'll want to update your `User` model to include the following:

```
use Laravel\Fortify\TwoFactorAuthenticatable;

class User extends Authenticatable
{
    use HasFactory, Notifiable, TwoFactorAuthenticatable;
    ...
```

That's it! Now, you can log into your application and enable or disable two-factor authentication.

### Update User Password/Profile

[](#update-user-passwordprofile)

To enable the ability to update user passwords and/or profile information, go to the `fortify.php` config file and make sure these features are uncommented:

```
Features::updateProfileInformation(),
Features::updatePasswords(),
```

FortifyUI Presets
-----------------

[](#fortifyui-presets)

**FortifyUI** encourges make your own presets, with your favorite frontend libraries and frameworks. To get started, visit the [*FortifyUI Preset Template*](https://github.com/zacksmash/fortify-ui-preset) repository, and click the "Use Template" button.

### Community Presets

[](#community-presets)

Presets for v1.x can be found in that branch.

License
-------

[](#license)

**FortifyUI** is open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance50

Moderate activity, may be stable

Popularity45

Moderate usage in the ecosystem

Community27

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 92.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~61 days

Recently: every ~244 days

Total

29

Last Release

354d ago

Major Versions

v1.4.3 → v2.0.02024-07-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/a45f4114b413d88307a50c328c235b23aa896a3782185126ed26fe2bca3385ac?d=identicon)[zacksmash](/maintainers/zacksmash)

---

Top Contributors

[![zacksmash](https://avatars.githubusercontent.com/u/6118407?v=4)](https://github.com/zacksmash "zacksmash (71 commits)")[![steks89](https://avatars.githubusercontent.com/u/14171590?v=4)](https://github.com/steks89 "steks89 (2 commits)")[![bistory](https://avatars.githubusercontent.com/u/108102?v=4)](https://github.com/bistory "bistory (1 commits)")[![joearcher](https://avatars.githubusercontent.com/u/1125046?v=4)](https://github.com/joearcher "joearcher (1 commits)")[![roelreijneveld](https://avatars.githubusercontent.com/u/34895541?v=4)](https://github.com/roelreijneveld "roelreijneveld (1 commits)")[![syahzul](https://avatars.githubusercontent.com/u/707301?v=4)](https://github.com/syahzul "syahzul (1 commits)")

---

Tags

authenticationfortifylaravelzacksmashfortify-ui

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/zacksmash-fortify-ui/health.svg)

```
[![Health](https://phpackages.com/badges/zacksmash-fortify-ui/health.svg)](https://phpackages.com/packages/zacksmash-fortify-ui)
```

###  Alternatives

[orchid/fortify

Orchid template for Laravel Fortify

3179.9k1](/packages/orchid-fortify)[wychoong/filament-fortify

Laravel Fortify for Filament Admin

3313.7k](/packages/wychoong-filament-fortify)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
