How to create laravel project using jetstream

Created at 17-Jan-2024 , By samar

in this tutorial we will learn to create laravel project using the jetstream package.

For those who don't know about the jetstream. Here we will provide a definition about the jetstream.

Laravel Jetstream is a robust application scaffolding for Laravel, providing pre-built features such as user authentication, team management, and account settings. It supports both the Livewire and Inertia.js stacks, streamlining the development of modern, dynamic web applications in Laravel.

First create the Laravel project using the below command

composer create-project laravel/laravel laravel-project

Move to project directory

cd laravel-project

Create database name laravel on mysql server using mysql client or phpmyadmin and add it to .env file.

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=password

Now run below commands step by step to install jetstream

composer require laravel/jetstream
php artisan jetstream:install livewire
php artisan migrate
npm install
npm run dev

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Buy Me A Coffee

Don't forget to share this article! Help us spread the word by clicking the share button below.

We appreciate your support and are committed to providing you valuable and informative content.

We are thankful for your never ending support.