---
description: >-
  https://www.itsolutionstuff.com/post/laravel-9-auth-with-inertia-js-jetstream-exampleexample.html
---

# Laravel 9 Auth with Inertia JS Jetstream Example

In this example, I will show you laravel 9 jetstream auth using inertia. you will learn laravel 9 auth with inertia jetstream. Here you will learn laravel 9 auth with inertia tutorial. This post will give you a simple example of laravel 9 authentication inertia example.

Laravel 9 jetstream was designed by Tailwind CSS and they provide auth scaffolding using livewire and Inertia. Laravel jetstream provides login, registration, email verification, two-factor authentication, session management, API via Laravel Sanctum, and team management features inbuilt.

Laravel Inertia is a templating language and Inertia is working with vue js.

![](https://www.itsolutionstuff.com/upload/laravel-9-jetstream-inertia.png)

Let's follow bellow steps:

**Install Laravel 9:**

here, we need to install laravel 9 application using composer command.

```
composer create-project laravel/laravel example-app
```

**Install Jetstream:**

Now, in this step, we need to use composer command to install jetstream, so let's run bellow command and install bellow library.

```
composer require laravel/jetstream
```

**Create Auth with Inertia:**

now, we need to create authentication using bellow command. you can create basic login, register and email verification. if you want to create team management then you have to pass addition parameter. you can see bellow commands:

```
php artisan jetstream:install inertia  OR  php artisan jetstream:install inertia --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
```

Now, you can run and check. they installed all views, actions and all in your laravel 9 application.

[![](https://go.ezodn.com/charity/http/charity-ads.s3.amazonaws.com/charity_ads/1093/728x90.png)](https://go.ezodn.com/ads/charity/proxy?p_id=feb6a60f-c172-4ac3-44c0-f94863db4056\&d_id=77568\&imp_id=8713741730099521\&c_id=1093\&l_id=10016\&url=https%3A%2F%2Fwww.directrelief.org%2Femergency%2Fukraine-crisis%2F\&ffid=1\&co=VN)

**Laravel 9 Jetstream Features**

Laravel 9 Jetstream provides new all feature are configurable. you can see there is a configuration file fortify.php and jetstream.php file where you can enable and disable option for that feature:

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(),    ],...
```

**Run Laravel App:**

All the required steps have been done, now you have to type the given below command and hit enter to run the Laravel app:

```
php artisan serve
```

Now, Go to your web browser, type the given URL and view the app output:

Read Also: [Laravel 9 Auth with Livewire Jetstream Example](https://www.itsolutionstuff.com/post/laravel-9-auth-with-livewire-jetstream-exampleexample.html)

```
http://localhost:8000/
```

now you can see layout bellow as here:

Home Page:

![](https://www.itsolutionstuff.com/upload/laravel-9-jet-1.png)

Login Page:

![](https://www.itsolutionstuff.com/upload/laravel-9-jet-2.png)

Register Page:

![](https://www.itsolutionstuff.com/upload/laravel-9-jet-3.png)

Dashboard Page:

![](https://www.itsolutionstuff.com/upload/laravel-9-jet-4.png)

Profile Page:

![](https://www.itsolutionstuff.com/upload/laravel-9-jet-5.png)

Team Page:

![](https://www.itsolutionstuff.com/upload/laravel-9-jet-6.png)

I hope it can help you...
