In this tutorial, we will learn Laravel 8 Auth with Livewire Jetstream
Install Laravel 8:
composer create-project --prefer-dist laravel/laravel blog
Install Jetstream:
composer require laravel/jetstream
Create Auth with Livewire:
php artisan jetstream:install livewire
OR
php artisan jetstream:install livewire --teams
Now, let's node js package:
npm install
let's run package:
npm run dev
now, we need to run migration command to create database table:
php artisan migrate
Laravel 8 Jetstream Features
config/fortify.php
....
'features' => [
Features::registration(),
Features::resetPasswords(),
Features::emailVerification(),
Features::updateProfileInformation(),
Features::updatePasswords(),
Features::twoFactorAuthentication(),
],
...
config/jetstream.php
....
'features' => [
Features::profilePhotos(),
Features::api(),
Features::teams(),
],
...
You can run your application by below command:
php artisan serve
May this will help you.