There are different types of default auth systems in laravel 10 application. Such as laravel breeze, laravel jet stream, laravel livewire auth scaffolding, etc. In this tutorial, I will discuss one of them and which is laravel 10 jetstream auth using inertia. There are some artisan commands we have to run before installing laravel 10 auth with inertia jetstream. 

I will share this laravel 10 auth with inertia tutorial with you so that you can create login system with inertia js with jet stream in your laravel 10 application. Let's start authentication laravel 10 inertia jetstream. 

laravel-10-jetstream-auth-inertia

Step 1: Install Laravel 10

In this step, I will first install a fresh Laravel project of version 10 and we will see all of the jetstream inertia js authentication systems in Laravel 9. So run the below command to install a fresh Laravel 9 app.

composer create-project --prefer-dist laravel/laravel auth

 

Step 2: Install Laravel Jetstream

In this second step, we need to install laravel jetstream package to create auth scaffold with inertia js. So run this command to create a login, register, and dashboard.

composer require laravel/jetstream

 

Jetstream gives up to options, we can choose livewire or inertia js to create authentication with jetstream. So run the below command to create jetstream authentication with inertia js.

php artisan jetstream:install inertia

 

If you need inertia js auth with team features then run the below command:

php artisan jetstream:install inertia --teams

 

Read also: Laravel 10 Authentication Using Jetstream Tutorial

 

Conclusion

In this laravel 10 jetstream inertia tutorial, I have tried my best to let you know the clear concept of laravel 10 auth with inertia tutorial example. Hope now after completing this tutorial, you will know laravel 10 authentication inertia example and you will be able to solve your problem about laravel inertia auth.

Category : #laravel

Tags : #laravel , #laravel auth