What are starter kits
Starter kits are official scaffolding provided as a starting point for Laravel applications. You can set up authentication features—login, registration, password reset, and email verification—along with the corresponding UI all at once. By selecting a starter kit when you create your application withlaravel new, all the routes, controllers, views, and frontend code for authentication are generated for you automatically.
Because all of the generated code lives inside your own application, you can customize it freely.
Available starter kits
Laravel 13 provides the following four starter kits:React
A modern SPA using React 19, TypeScript, Tailwind 4, and shadcn/ui.
Inertia.js lets you use React while retaining server-side routing.
Vue
Uses the Vue 3 Composition API, TypeScript, Tailwind, and shadcn-vue.
Like React, it integrates with the server via Inertia.js.
Svelte
An SPA using Svelte 5, TypeScript, Tailwind, and shadcn-svelte.
Combines with Inertia.js to build a modern frontend.
Which one to pick
If you want a big-picture view of the differences between Blade, Livewire, Inertia, and an independent SPA, reading Frontend first will help you choose.
How to install
You choose a starter kit when creating your project. Running thelaravel new command lets you select a starter kit interactively.
1
Install the Laravel installer
If you haven’t already installed it, get the Laravel installer via Composer.
2
Create a new application
Run the At the prompt, choose one of React, Vue, Livewire, or Svelte.
You can also choose the authentication provider: standard Laravel authentication or WorkOS AuthKit.
laravel new command. An interactive prompt including the starter kit choice is displayed.3
Install frontend dependencies
4
Prepare the database
Verify the database configuration in the
.env file, then run migrations.5
Start the development server
http://localhost:8000 in your browser and you’ll see “Register” and “Log in” links in the navigation.Customizing the starter kit
All the generated code lives in your own application, so you can freely modify it. Most of the frontend code is in theresources/js directory (for Livewire, since it’s Blade-based, in resources/views).
Switching layouts
Each starter kit provides two layout options: “sidebar” and “header.” The default is the sidebar layout.- React
- Vue
- Livewire
- Svelte
Edit
resources/js/layouts/app-layout.tsx.Changing the auth page layout
Login and registration pages can also be chosen from three layout styles: “simple,” “card,” and “split.”- React
- Vue
- Livewire
- Svelte
Edit
resources/js/layouts/auth-layout.tsx.Customizing user registration logic
The starter kits use action classes in theapp/Actions/Fortify directory to handle user registration and password reset.
For example, to add a phone number field during registration, edit CreateNewUser.php.
WorkOS AuthKit authentication
You can also choose WorkOS AuthKit as the authentication provider when runninglaravel new.
WorkOS AuthKit adds the following features:
- Social authentication (Google, Microsoft, GitHub, Apple)
- Passkey authentication
- Email “Magic Auth”
- SSO (single sign-on)
Using WorkOS AuthKit requires a WorkOS account. It’s free for up to 1 million monthly active users.
.env file:
Caveats
Next steps
Authentication introduction
Learn more about Laravel’s authentication features, including using the
Auth facade and protecting routes.