laravel/blank-svelte-starter-kit
Laravel + Svelte starter kit for building modern Laravel apps with an Inertia-powered Svelte frontend. Includes Svelte, TypeScript, Tailwind, and fast Vite builds with classic Laravel routing/controllers. No authentication scaffolding included.
@inertiajs/svelte SSR adapter).composer create-project laravel/blank-svelte-starter-kit my-app
resources/views with Svelte components in resources/js/Pages.Inertia::render().useAuthStore()).| Step | Task | Dependencies | Risk |
|---|---|---|---|
| 1 | Set up project | Node.js, Composer | Low |
| 2 | Replace Blade views with Svelte | Inertia.js setup | Medium |
| 3 | Migrate controllers to Inertia | Laravel routing | Low |
| 4 | Implement auth (Sanctum/Passport) | Backend API | High |
| 5 | Adopt Svelte stores for state | Frontend consistency | Medium |
| 6 | Optimize builds (Vite) | CI/CD pipeline | Low |
| 7 | Test SSR/SEO (if needed) | Inertia SSR adapter | Medium |
dist folder may need to be copied to Laravel’s public directory.| Risk | Mitigation | Impact |
|---|---|---|
| Inertia.js misconfiguration | Use official docs; test page transitions | Frontend routing breaks |
| Auth state desync | Centralize auth logic in Svelte stores + Laravel |
How can I help you explore Laravel packages today?