Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Out of the box authentication with Laravel Fortify, built ontop of my VILT stack (with TypeScript): (registration, logging in and out, 2FA, forgot password, email verification, and password confirmation).

Notifications You must be signed in to change notification settings

DignitySAMP/vilt-stack-fortify-ts

Repository files navigation

VILT stack (TypeScript) with Fortify preinstalled

Laravel Vue Inertia Tailwind Ziggy.js Laravel Fortify

What is it?

This is an extension to the vilt stack starter kit that I maintain with Laravel Fortify preinstalled as well as using the recommended methodology for form control and Vue components and layouts, remniscent of the old Vue Breeze starterkit.

This version includes TypeScript, contrary to the original repository which contains JavaScript.

What's included (out of the box):

  • Registration
  • Authentication
  • 2FA management (see auth/TwoFactorChallenge.vue and auth/TwoFactorSetup.vue for a working example)
  • 2FA verification (when enabled, prompted every login)
  • Email verification (prompted when using the verified middleware)
  • Password confirmation (prompted when using the password.confirm middleware)
  • Forgot your password e-mail

All that's left for you to configure is the mail configuration which can be adjusted in the .env file with the MAIL_ prefix.

Installation

Either click the Use this template button and make a new repository, or:

# clone the repo
git clone https://github.com/DignitySAMP/vilt-stack-fortify
cd vilt-stack-fortify

# install node and composer packages
npm install
composer install

# copy .env, set up app key and create database
cp .env.example
php artisan key:generate
php artisan migrate # 'yes' when prompted to make sqlite database, OR go to .env and configure your own database

# migrations, seeding (optional)
php artisan migrate --seed # remove the --seed if you don't wish to seed
# seeding creates a test user: test@example.com:test@example.com

# running
npm run dev
php artisan serve

About

Out of the box authentication with Laravel Fortify, built ontop of my VILT stack (with TypeScript): (registration, logging in and out, 2FA, forgot password, email verification, and password confirmation).

Topics

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages