Documentation Index
Fetch the complete documentation index at: https://kawax.biz/llms.txt
Use this file to discover all available pages before exploring further.
What are starter kits?
Starter kits are official scaffolding packages for Laravel applications. They generate all the code needed for user registration, login, password reset, email verification, and a matching UI — so you can focus on building your application rather than setting up authentication from scratch. When you runlaravel new, the installer prompts you to choose a starter kit. The selected kit generates routes, controllers, views, and frontend code directly inside your application. Because the code is yours, you can customise it freely.
Available starter kits
Laravel 13 ships with four starter kits:React
React 19, TypeScript, Tailwind CSS v4, and shadcn/ui. Powered by Inertia.js for server-side routing with a React frontend.
Vue
Vue 3 Composition API, TypeScript, Tailwind CSS, and shadcn-vue. Also powered by Inertia.js.
Livewire
Build dynamic UIs in pure PHP with Laravel Livewire and Blade templates. Includes Flux UI. Best for teams that prefer to stay in PHP.
Svelte
Svelte 5, TypeScript, Tailwind CSS, and shadcn-svelte. Powered by Inertia.js.
Choosing a starter kit
| Starter kit | Best for |
|---|---|
| React | Teams experienced with React and TypeScript |
| Vue | Teams coming from Vue or Nuxt backgrounds |
| Livewire | Teams who want to build everything in PHP and Blade |
| Svelte | Teams experienced with Svelte or SvelteKit |
If you want the high-level trade-offs before picking a kit, start with Frontend.
Installation
Starter kits are selected at project creation time — they cannot be added to an existing project.Create a new application
Run Choose one of React, Vue, Livewire, or Svelte. You can also choose between standard Laravel authentication or WorkOS AuthKit (see below).
laravel new and follow the interactive prompts. You’ll be asked to choose a starter kit and an authentication provider:| Feature | URL |
|---|---|
| Registration | /register |
| Login | /login |
| Password reset | /forgot-password |
| Email verification | /email/verify |
| Profile settings | /settings/profile |
Customising a starter kit
All generated files live inside your application, so you can modify them freely.Switching the app layout
Each starter kit includes a sidebar layout (default) and a header layout:- React
- Vue
- Livewire
- Svelte
Edit
resources/js/layouts/app-layout.tsx:Switching the auth layout
Login and registration pages support simple, card, and split layouts:- React
- Vue
- Livewire
- Svelte
Edit
resources/js/layouts/auth-layout.tsx:WorkOS AuthKit
When runninglaravel new, you can choose WorkOS AuthKit as the authentication provider. This adds:
- Social login (Google, Microsoft, GitHub, Apple)
- Passkey authentication
- Magic link (passwordless email login)
- Single sign-on (SSO)
WorkOS AuthKit requires a WorkOS account. It is free for up to 1 million monthly active users.
.env file:
Important note
Next steps
Testing
Learn how to write automated tests for your Laravel application.