{"id":13590140,"url":"https://github.com/zacksmash/fortify-ui","last_synced_at":"2026-01-11T16:52:03.956Z","repository":{"id":41254240,"uuid":"297851866","full_name":"zacksmash/fortify-ui","owner":"zacksmash","description":"Laravel Fortify driven replacement to the Laravel UI package","archived":false,"fork":false,"pushed_at":"2024-08-02T15:03:40.000Z","size":122,"stargazers_count":243,"open_issues_count":0,"forks_count":22,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-02T04:49:51.612Z","etag":null,"topics":["authentication","fortify","laravel"],"latest_commit_sha":null,"homepage":"https://github.com/zacksmash/fortify-ui","language":"Blade","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zacksmash.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-23T04:27:29.000Z","updated_at":"2025-02-13T14:21:59.000Z","dependencies_parsed_at":"2024-11-06T10:48:45.322Z","dependency_job_id":null,"html_url":"https://github.com/zacksmash/fortify-ui","commit_stats":{"total_commits":55,"total_committers":7,"mean_commits":7.857142857142857,"dds":"0.12727272727272732","last_synced_commit":"5dae387047e23ad593c15157b86cdcd85313d3d8"},"previous_names":[],"tags_count":26,"template":false,"template_full_name":"spatie/package-skeleton-laravel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacksmash%2Ffortify-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacksmash%2Ffortify-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacksmash%2Ffortify-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacksmash%2Ffortify-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zacksmash","download_url":"https://codeload.github.com/zacksmash/fortify-ui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247842978,"owners_count":21005379,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","fortify","laravel"],"created_at":"2024-08-01T16:00:40.072Z","updated_at":"2026-01-11T16:52:03.914Z","avatar_url":"https://github.com/zacksmash.png","language":"Blade","funding_links":[],"categories":["Blade"],"sub_categories":[],"readme":"\u003cp  align=\"center\"\u003e\u003cimg  src=\"https://github.com/zacksmash/fortify-ui/raw/master/fortify-ui-image.png\"  width=\"400\"\u003e\u003c/p\u003e\n\n# Introduction\n\n\u003e [!NOTE]\n\u003e For Laravel 10 and below, use branch v1.x\n\n**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**.\n\n\n### In a nutshell...\n**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.\n\n---\n\n- [Introduction](#introduction)\n    - [In a nutshell...](#in-a-nutshell)\n  - [Installation](#installation)\n  - [Configuration](#configuration)\n  - [Features](#features)\n    - [Email Verification](#email-verification)\n    - [Password Confirmation](#password-confirmation)\n    - [Two-Factor Authentication](#two-factor-authentication)\n    - [Update User Password/Profile](#update-user-passwordprofile)\n  - [FortifyUI Presets](#fortifyui-presets)\n    - [Community Presets](#community-presets)\n  - [License](#license)\n\n\u003ca name=\"installation\"\u003e\u003c/a\u003e\n## Installation\n\nTo 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.\n\n```bash\ncomposer require zacksmash/fortify-ui\n```\n\nNext, you'll need to run the install command:\n\n```bash\nphp artisan fortify:ui\n```\n\nThis 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.\n\nThat's it, you're all setup! For advanced setup and configuration options, keep reading!\n\n\u003ca name=\"configuration\"\u003e\u003c/a\u003e\n## Configuration\n\nThe **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.\n\n```bash\nphp artisan fortify:ui --skip-provider\n```\n\nThen, you can add this to your `AppServiceProvider` or `FortifyServiceProvider`, in the `boot()` method.\n\n```php\nFortify::loginView(function () {\n    return view('auth.login');\n});\n\nFortify::registerView(function () {\n    return view('auth.register');\n});\n\nFortify::requestPasswordResetLinkView(function () {\n    return view('auth.forgot-password');\n});\n\nFortify::resetPasswordView(function ($request) {\n    return view('auth.reset-password', ['request' =\u003e $request]);\n});\n\n// Fortify::verifyEmailView(function () {\n//     return view('auth.verify-email');\n// });\n\n// Fortify::confirmPasswordView(function () {\n//     return view('auth.confirm-password');\n// });\n\n// Fortify::twoFactorChallengeView(function () {\n//     return view('auth.two-factor-challenge');\n// });\n```\n\nTo register all views at once, you can use this instead:\n\n```php\nFortify::viewPrefix('auth.');\n```\n\nNow, 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.\n\n\u003ca name=\"features\"\u003e\u003c/a\u003e\n## Features\n\nBy default, **FortifyUI** is setup to handle the basic authentication functions (Login, Register, Password Reset) provided by *Laravel Fortify*.\n\n\u003ca name=\"features-email-verification\"\u003e\u003c/a\u003e\n### Email Verification\nTo 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:\n\n```php\nuse Illuminate\\Contracts\\Auth\\MustVerifyEmail;\n\nclass User extends Authenticatable implements MustVerifyEmail\n{\n    ...\n```\n\nThis allows you to attach the `verified` middleware to any of your routes, which is handled by the `verify.blade.php` file.\n\n[More info about this can be found here.](https://github.com/laravel/fortify/blob/1.x/README.md#email-verification)\n\n\u003ca name=\"features-password-confirmation\"\u003e\u003c/a\u003e\n### Password Confirmation\nTo 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.\n\n\u003ca name=\"features-two-factor-auth\"\u003e\u003c/a\u003e\n### Two-Factor Authentication\nTo 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:\n\n```php\nuse Laravel\\Fortify\\TwoFactorAuthenticatable;\n\nclass User extends Authenticatable\n{\n    use HasFactory, Notifiable, TwoFactorAuthenticatable;\n    ...\n```\n\nThat's it! Now, you can log into your application and enable or disable two-factor authentication.\n\n\u003ca name=\"features-password-profile\"\u003e\u003c/a\u003e\n### Update User Password/Profile\nTo 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:\n\n```php\nFeatures::updateProfileInformation(),\nFeatures::updatePasswords(),\n```\n\n\u003ca name=\"presets\"\u003e\u003c/a\u003e\n## FortifyUI Presets\n\n**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.\n\n### Community Presets\n\nPresets for v1.x can be found in that branch.\n\n## License\n\n**FortifyUI** is open-sourced software licensed under the [MIT license](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzacksmash%2Ffortify-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzacksmash%2Ffortify-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzacksmash%2Ffortify-ui/lists"}