1. Create a laravel project:

composer create-project --prefer-dist laravel/laravel laravel11-app "11.*"

Note: --prefer-dist may provide a smoother experience and clearer intent regarding the version you wish to install

  1. Setup database and .env edit & Run migration command

Difference between Sanctum and Jetstream:

image.png

  1. Jetstream installed code:

composer require laravel/jetstream php artisan jetstream:install livewire 2. Installed Sanctum code:

    `composer require laravel/sanctum`

Note: In summary, if your application needs collaborative features with team management capabilities, you should use the command with the --teams option. If you only need basic authentication without team functionalities, the standard installation command will suffice.

  1. Login / Registration View - By default